Maybe fully autonomous ships should have maintenance performing robots then?
Also a way harder problem than just designing in longer service intervals.
I don't mean to pick on you too much but the idea that you can have little Hueys, Deweys, and Louies tooling around a container ship doing whatever maintenance is required is ludicrous.
And the other suggestions about having crews that you transport from ship to ship isn't quite as unrealistic but is needlessly complicated in the way that software often is. Among other things--have the people suggesting this sort of thing ever been in the North Atlantic in bad weather?