Oil replaced coal in steamships long before significant numbers of large ships were powered by Diesel engines. Even supertankers used steam because they had plenty of space for boiler rooms.
And further, for very large ships, like I don’t think you’ll ever replace the steam turbine. I think you get into scaling problems with transmissions with gas turbines beyond a certain level.
So we’ve just gone from using coal, to oil, to nuclear energy, to run boilers to make steam to drive steam turbines to drive screws.
If you ever get a chance to go see the guts of one of the several U.S. retired WWII battleships or aircraft carriers that are on display around the country, looking at the boiler rooms is fun. Well, it is for me.
;-P