Engine or motor?

It actually is an engine (e.g. combustion engine).

A motor in reality using electrical energy to produce mechanical energy, nearly always by the interaction of magnetic fields and current-carrying conductors. The reverse process, that of using mechanical energy to produce electrical energy, is accomplished by a generator or dynamo.

This is also a pet peeve of mine as well but the term Motor has become the slang of engine…