Motor is any machine or device that converts any form of energy into mechanical energy or imparts motion. It has the colloquial meaning of an automobile or motor car.
"She has excellent motoring skills."
Engine is a device to convert energy into useful mechanical motion especially heat energy. It is a powered locomotive used for pulling cars on railways.
"The Engine has refused to start."