motors are a subset of engines.

That's the definition I like. Motors turns something else into motion; engines can do other thangs.

This may not be true in all areas. Local laws may vary.