I wouldn't write it off.
There could be could add battery storage to be used during the journey. They could include wind turbines to add further power generation.
Also ships can go slower. In my limited knowledge of boats every extra knot takes significantly extra fuel. If we were bringing multiple power sources 'slow' cargo may be viable. And the has to be other ways to increase this function.
And there is always hybrid. Not all power has to be renewable sources. A solution could start with supplementing diesel driven thrust with some lower cost green power. Given diesel is 70% of shipping operating cost that seems a potential option.