There are many applications where an electric vehicle can be useful- urban commutes, for example. But even in those cases, there really is no net benefit. Assuming that battery technology is vastly improved, laws of nature are indisputable- fossil fuels carry an energy punch much greater than electric battery power. In order to charge a battery, it takes some other form of energy and there is some loss in the transfer.
They had a similar problem that generating electricity for EVs have. I don't remember the exact number, but it is something like 1.6 gallons of fossil fuels is required to make one gallon of biofuel.
Plus the fossil fuel needed to ship the biofuels to their destination because it can't be sent through a pipeline. It must be trucked.
If it cost more in fossil fuels to create a biofuel designed to save the environment from fossil fuels, it's not a solution but only creating a bigger problem.
Electricity generation is only one side of the equation to get EVs to work. The other side is the manufacture of the battery need to power the vehicle and store the electricity for later use.
More fossil fuels are needed for the generation of the electricity. And even more fossil fuels are needed to manufacture the batteries. Batteries require elements from the earth that are not widely available. Eventually new technologies will be required to maintain the materials needed to make the massive batteries.
Some EVs will be put into use but converting the entire world's fleet of vehicles into EV will not happen for many, many decades.
They are not ready for primetime yet.