They're going after the use case of gasoline as energy storage, not gasoline as primary energy production.
The reason, today, that cars are powered by gasoline and not electricity is not the cost of the energy itself, but the cost of storing it.
Obviously it would be better to use the electricity directly. But it's hard to get that electricity to a moving car on the road (or a plane in the sky).
Your "not that hard" solutions don't solve the problem you answered to. You can't move a single (production) car out there with wires in the road, or by laying tracks.