My understanding is that when buying a car you are dealing with an oligopoly. You might think that you have a lot of options, but they all come from the same source. Furthermore, big money control not only car production, but oil too. If they allow the ceo of a car company to come with such a car, they loose billions in the oil industry. So they have no incentive to do that.
New options do appear on the market like the new toyota prius with solar panel, but if you look at it you will see that they didn't even try to maximize the solar panel size. Still it gets 2 km extra range in bad conditions. Triple that and you have 6 km, in real conditions. If you use your car every other day, you will never charge it, ever. If you get average or above sun, you can drive it daily and not charge it ever. A big problem if you sell oil.
The problem with green energy is that it is very democratic and hard to control. Nobody with big money is interested in that.
To understand who controls your life, see all the draconian measures taken against electric scooters: cheap, not poluting, democratic, don't need a lot of space and so on. Everyone with money said: we can't allow that. Write defamatory articles in the media they control, pass laws against it and so on.