Answer
The first law of thermodynamics states that energy cannot be created or destroyed. The mitochondria don't actually make energy, they just extract it from chemical bonds.
Work Step by Step
The mitochondria extract energy from the chemical bonds and transfer that energy to ATP. No energy is created, it is just moved around into a more easily accessible form.