A protein found in nature makes it possible to generate electricity out of the air, pioneering a new form of green energy.