The consumer protection statutes provide recourse in certain situations...
In California they are limited to personal use and not business... so as long as it is personal, the warranty is in force, all manufacturer's instructions followed, unit not abused and the Dealer/Manufacturer have had several unsuccessful repair attempts regarding a significant defect... you have a good prima facie case... in my State.
Remedy is limited to a buyback with use deduction or exchange....
You may also be able to request a refund of sales tax separately...
In the past... I have had manufacturers offer extended warranty at no charge... sometimes the consumer accepted... sometimes not.
Still remember a case where the car in question was granted a special 100k warranty... it caused a lot of potential issues because no other car in the country had this special warranty at the time... after, the manufacturer said it would have simply been better to offer a buyback due to logistics of tracking this one unique warranty...