1) evolution of cyanobacteria as a freak merger of green-sulfur and purple photosynthetic bacteria. Well, biological historians DO understand the importance of this, but the reason why the chemistry is important is not well appreciated. Cyanos use water as a reductant - as an electron donor. Normally one does not think of water as a reductant, but as a facilitator oxidation. This is biology's "great umpolung chemistry" moment.
2) The great oxidation catastrophe. Because oxygen, the oxidized poop of the previous process is highly toxic, there was a huge exinction event across pretty much all clades. But some of the emergent chemistry (disulfide bonds e.g.) really enabled structural scaffolding that facilitated higher order cellular structure. Mitochondria went into hiding inside of the reducing environment of an proto-archaeal species and boom - eukaryotes.
3) The size and distance of the earth from the sun. Hydrogen at ambient temperature achieves escape velocity. This means the net chemical trend over billions of years was oxidizing. One wonders if this made the first two chemical processes somewhat inevitable.
I'd also like to point out that thinking parsimoniously about energy from an evolutionary standpoint is not necessarily productive. For example: There's a lot of junk DNA (VNTRs, e.g.) which do not seem to be subject to aggressive optimivation for energy.