The internal combustion engine is not a very efficient way to convert fuel into movement, its key benefit was that it is compact enough to put inside the vehicle itself. A steam train was more efficient, and steam boats were more efficient still, but those are both enormous so it was seen as a more reasonable option for these vehicles. So an EV transition actually doesn't mean that much more electrical generation compared to much less fossil fuel production.