That is idiotic. Gasoline is a volatile fuel which produces chemical energy upon combustion which is then converted to mechanical or electrical energy, a storage battery is merely a holding tank to hold energy already produced elsewhere then kept on hand to be merely bled off.
One is potential, the other kinetic. The gas tank weights maybe 180 pounds, the battery weighs 2000 pounds.
Woah....
Gasoline is potential energy turned into mechanical energy through combustion (chemical reaction producing hot, expanding gasses) which is measurable into watts or work. (Usually for simplicity it's stated as ft/lbs or torque OR Horsepower.)
Electric batteries have stored or potential energy which is turned into mechanical energy through the creation of magnetism.
There are formulas to equate gasoline motor potential vx electric motor potential which can have stated and rated Horsepower or torque as well.
Stored electricity is no different from a tank of gasoline as far as being potential energy.
A battery doesn't do work. Has to allow electron flow to create work.
Energy is
movement. (It's not a solid, liquid, or gas)
Where the BIG HUGE problem exists is in the amount of energy produced per pound of potential energy. A battery has less than 16 kwh per pound. A pound of gasoline has up to 60 kwh. (Almost 4x as much energy) The gasoline will ALWAYS do better because the weight decreases as it is consumed by the engine and escapes away through the tailpipe. Batteries weigh exactly the same full or empty.
However, technology exists to increase the potential of gasoline to an even higher in KWH to 80 or more kwh. Making lithium batteries at 16 kwh a joke. Even if somehow they were able to figure out how to double the energy per pound for lithium batteries the other new gasoline technologies would dwarf lithium battery potential making electric cars still stupid.
And the electricity generated at central locations? It's not exactly generated in the most efficient manner due to the amounts we generate. It's done as effectively and as efficiently as possible....but there are definite efficiency losses all along the way.