So far, battery technology is nowhere near the densities needed for long-haul travel. I mean, I don't think it's even remotely on the horizon. A battery that can move a container ship without recharging from, say, Hong Kong to Europe or the US? Nuclear reactors are a far more likely alternative, but those have lots of obvious issues for widespread consumer use.

Planes are even tougher, but they are a relatively small portion of the overall goods moved, so I think we could just stick with biofuels and just eat the carbon footprint (at least we wouldn't be depleting oil reserves, though). Ditto for other specialized applications (e.g. military applications - batteries aren't going to run good ol' tanks for a very long time, if ever).