This is just laughable. No way will the UK be ready for this in 2040, never mind 2030.
How are they going to provide charging points for every single car parked outside on the streets? Not to mention the hundreds of points that would be needed at motorway service areas and other places for people travelling long distance. And don't get me started on the amount of pollution making all the batteries for electric cars generates.
The whole electric car idea was flawed from the start. It needs a major rethink and standardised manufacturing of the vehicles at a minimum.
https://www.bbc.com/news/science-environment-54981425