Rotating equipment that can typically be found in an offshore platform environment includes ALL the following: pump, fan, compressor, (search)light, crankshaft, propulsion shaft, anchor windlass, radar array, electric motor, electric generator, drill (bit) and drill (pipe), crane (drum). Depending on the platform, there may well be others that don't fall into these general categories.
Rotating equipment located onshore has several other types as well: extruders, rolling stands, ball mills, crushers, drive- and line-shafts, etc.
The biggest differential for rotating electrical equipment (motors and generators) between an onshore application and one located offshore is: environment (corrosion and moisture), cathodic protection, "solidity" of foundation structure, planarity of installation (offshore installations not only get installed at odd angles, they also have to deal with at least some roll and pitch), exposure (sun, rain, wind, etc.), transport (to the offshore facility), availability of repair and/or spares, cooling method(s), and so on.
Converting energy to motion for more than half a century