This is not a valid comparison—the inner mitochondria membrane is used to run proton pumps and carry out oxidative phosphorylation across to generate ATP energy.
What does oxidative phosphorylation do?
generate ATP energy