Eventually people will figure out that electric cars only reduce overall pollution if their energy source is less polluting than the petrol cars. Many people charge there electric cars at night when the electricity production is the most polluting.
Electric cars produce less emissions when powered by coal-fired power plants than petrol cars do.
Power plants operate at higher efficiency than most car engines. Electricity transmission is quite efficient, battery charging and discharging is quite efficient and electric motors are very efficient.
There is no solar energy on the grid at night and the wind energy is greatly reduced at night. Hydro power is still great at night but much of the night energy comes from more polluting energy sources like coal. So in effect electric cars move the pollution out of the cities to the location of the power plant. That is good enough for some people but when you look at the big picture it isn't doing as much good for the planet as they are led to believe.
Concentrating thermal solar power plants can store energy and produce power 24/7.
Wind power is also a thing, and that does not stop at night.
Some parts of the world use geothermal energy, while wave and tidal energy may be used for large scale power production in the future. Tidal energy has been used in the past - London Bridge had several water wheels, driven by the Thames tide, to pump water uphill to storage. Another wheel may have been used for driving a flour mill. That was about 500 years ago.
Also there is the cost factor. As more and more electric vehicles are used eventually the demand for electricity will go up and the demand for petrol will go down. This will lead to higher prices for electricity and lower prices for petrol. Electric cars are already more expensive to buy and they will become more expensive to operate as the price of electricity goes up. This could lead to a situation where petrol cars become cheaper to buy and cheaper to operate. This would be good for people that need the longer range of petrol cars.
Electricity cost will go up if supply is not increased to match demand. That is unlikely to happen in the long term.
The biggest single sector for greenhouse gas emissions is electricity generation. That is why much of the effort in mitigating climate change is aimed at that sector.
We are now at the stage where new capacity is cheaper (per MWh) for wind and solar PV than for fossil-fuel thermal plants. Solar thermal isn't quite there yet.
Petrol will become cheaper if production is maintained but demand falls. It is unlikely that production will be maintained at current levels if there is a big drop in demand.
Capital cost for petrol production will become more significant as demand and production fall, so that petrol may, in fact, become dearer.
New petrol powered cars would likely be dearer because they are limited production, though there will still be plenty of legacy vehicles available for a long period.
The need for petrol vehicles for long range supposes that there are no improvements to battery technology, charging times and infrastructure.