Among them, fuel cells1,2 and metal-air batteries3,4 attract particular worldwide interest, due to their high energy density, enabling an increasing driving autonomy in electric vehicles, to be comparable to that of gasoline-supplied vehicles, and supporting the development of small advanced portable electronic devices as well as auxiliary power units5.