265k sq ft of solar panels roughly reduces the amount of battery needed by 3% to go any given distance, his math says. It is unlikely this costs less than the 3% of battery reduced.
And of course, you can't readily make the whole upper surface of a container ship into panels, because cranes lift containers off the ship.