There are different definitions for both depending on the application to which it is put.
For instance, to a mechanical engineer an engine produces energy or power whereby a machine consumes it.
An engine housing boring, or line boring machine used to bore the block for main bearings of a crank, where straightness required inline with the each whole according to the crank size