How does the law of conservation of energy apply to machines?

-Machines create energy from scratch.
-Machines consume energy until no energy remains.
-Energy transferred to a machine equals energy transferred from it.
-Engineers break the law of conservation of energy by using machines.