Of course most (non-electric) train engines use Diesel-electric propulsion (https://en.wikipedia.org/wiki/Diesel%E2%80%93electric_transm...). That's mostly because of the flat torque curve of the electric motor. Some ships do too.
I'm not sure why you think that battery-electric train engines or ships aren't going to happen. There is a lot of room for batteries on vehicles like that!