Fuel cells have long been viewed as a promising power source. These devices, invented in the 1830s, generate electricity directly from chemicals, such as hydrogen and oxygen, and produce only water vapor as emissions. But most fuel cells are too expensive, inefficient, or both.