There will be no peak oil. Cars are going electric faster than most imagine. Oil is not in an elastic market. A small drop in demand will shut down all but the cheapest wells.
Coal is also doomed.
Technology marches on.
There is an electric car and a solar roof in my not to distant future — it is an economic fact. And besides, electric cars are getting nuts in the performance area.
Seems you may be allowing too much credit to the electric car business. It will take a lot more electric power than we have now to produce enough electricity if all those electical vehicles become reality. That electrical power has to come from somewhere & I don’t think the “renewables” can supply enough of it. AND....if they are to be made more practical for distance driving and/or high current specialty vehicles, then we will need even more electricity than is likely envisioned at this time. I still feel there is a lot of life left in the gas & diesel applications.