As mentioned, a hardwired unit may be desirable when it meets a requirement for separately metered TOU rates. If you have TOU rates for the entire house it will not matter what type of device is used. It may also be desirable as it would qualify for current, but soon to expire, tax incentives. It may also cost more to have a hardwired unit installed, compared to having only a 50A receptacle installed. So it could be a wash.
The tax credit will also apply to an outlet installed to charge your EV. this could be a dedicated 120V outlet to use the OEM cable, or a 240V outlet for something with faster charging speeds. There is no requirement that the device be hardwired, so a plug-in EVSE and installation costs (including electrical work) do qualify.
I recently added a second EVSE in my garage because my utility would give me $500 towards the purchase and install, plus $50/yr if they could reduce or delay charging during peak times. The only EVSE that currently qualifies is the Chargepoint Flex. I hardwired it on a 60A circuit. Total cost ~$730 ($699 + ~$30 in wire, breaker, clamps). $500 PGE rebate and $219 Tax Credit leave a net cost of $21. And then they pay me $50/yr to participate in the program.
I did have a schedule set for delayed charging (their TOU program made no sense for us but we did it anyway). We now plug in when we get home and let them potentially control the charging. They'll send a notification prior to doing so and you can override and charge if you need to.
As a note, for a couple of reasons even the hardwired install would not meet code.
1) The consumer can is required to set the amperage the unit draws and can change it (intentionally or accidentally) to a value greater than the circuit can handle
2) The unit does not properly handle a request for ventilation when charging and also does not have the labeling required regarding ventilation.
If installing with the 14-50 or 6-50 plugs, it would fail do to:
1) The inability to function with the GFCI protected outlet required by code (the manual does state that if a GFCI outlet is required, the unit should be hardwired)
2) Tool free removal is not possible.