If they were all electric, all of this size, and required a full charge on arrival, you’re talking about (very roughly) 1 GW continuous power requirement for charging the ships. That’s a lot; no bones about it, but it’s not unprecedented - aluminium smelters and data centers are similarly hungry for power.
Using containerized energy that can be offloaded and charged and swapped at ports is much more efficient way to spread the cost and infrastructure and safety around the world.
There are many ports where you really don't want any form of radiation/nuclear materials available.
You power this the same way you power aluminum smelters - you have a big honking grid connection and build the generation capacity in places with more room.