Example take a small aircraft as an example:
- Combustion: Motor 150kg (1kW per kilo) fuel 100kg (43MJ/kg) = 250 kg, 4300MJ
- Electrical: Motor 20kg (5kW per kilo) batteries 230kg (1MJ/kg) = 250kg, 230MJ
The amount of batteries carried is more than twice the weight of the fuel, so the difference in carried energy between those planes is now no longer 43x, its < 20x. Still a big gap, but the point is that it's much smaller when all things are considered.
Now consider any additional weight we didn't count here (gearboxes or other drive line components), the complexity of those planes, e.g. the number of moving parts. Also consider noise level, fuel economy, environment, reliability. For multi-engine craft it becomes even more pronounced. I don't think batteries will ever need to come close to the energy density of combustible fuels for electric flight to be viable.
On the other hand jet airliners are designed to be lighter when they land, landing gear and brakes don't have to manage a landing at full weight (which is why they have to dump fuel before making an emergency landing immediately after takeoff). An electrical plane would have to have brakes and landing gear designed for the heavy batteries, as it will be as heavy at landing as it was at takeoff. This might add quite a lot of weight.
Aluminum-air batteries [1] are well studied in the past decade and there is lots more research going on there. Currently the state of the art for such a battery is about 4.7 MJ/kg and the theoretical maximum is as high as 28.8 MJ/kg, at which point the mass of the turbopumps and other fuel handling parts might make up the difference.
Of course there are issues, primarily the fact that they're not rechargeable and have to be chemically recycled. It's currently too expensive to do that now, but once we can do it economically, each airport will just have to have a stock of batteries and a robot to swap them on the jet and we'll have electric flight.
See the hybrid car: the efficiency of a regular engine (VW Diesel not taken into account ;-) is relatively low. If an electrical engine can be twice as efficient, you only need half the energy...
The bigger you make the jet, the more of its surface you have to cover with solar panels. However, while the mass grows geometrically with the size because of volume, the surface area of the panels only grows exponentially (x^3 vs x^2). Just like with single celled organisms: at some point the surface area can no longer absorb enough energy to support the massive machinery.
There are tricks to increase surface area but the panels still have to face the sun so you're forced to make planes short vertically but very long horizontaly. I don't think existing airports would be able to support such a different design.
Cubically and quadratically?
Jet A, about 43 MJ/kg. Lithium ion, <1 MJ/kg.