When the internal combustion engine was invented , the term `` motor '' was initially used to distinguish it from the steam engine-which was in wide use at the time , powering locomotives and other vehicles such as steam rollers .
Typical engines are steam engine and internal combustion engine , while typical motors are electric motor and hydraulic motor .