We're going to need more than grid-scale batteries to electrify trucks, ships, and long-distance airplanes. PaulDavisThe1st is right about that! Solar-powered fuel production from CO₂ is one possibility.
Ships, we'll see. Most shipping ships are container ships (as opposed to, say, tankers, cruse ships, or ship shipping ships shipping shipping ships), and those are already slow enough that a substantial part of world trade is by airplane now, because inventory on a container ship is inventory you can't sell yet, or at least can't deliver yet. You could imagine a future where container ships are partly powered by onboard sails and partly powered by giant lightweight solar farms towed behind them on hydrofoils, but I don't think we're going to see container ships powered by lithium-ion batteries. Aluminum-air, maybe.