But 5000km is shorter than many major routes, right?
Shanghai to Los Angeles is more than double that
Shanghai to Los Angeles is more than double that
Shanghai to LA is probably the worst example (since the pacific ocean is basically the emptiest spot on the planet, as land/port frequency goes), but Hawaii still exists and they could recharge there.
EDIT: Seems like they mostly use imported oil, so saying "bring us a bunch of oil and we'll charge your batteries with it" seems like the ship is just burning oil with extra steps.
Los Angeles port already tries to achieve zero-emissions operations by 2030 I presume more solar could be added. And I guess some/many ports and Los Angeles specifically could use wave energy. But, again, I could very well imagine Northern Australia supply ports in Eastern Asia.