The cost of producing hydrogen gas with renewables is likely to plummet in the coming decades, making one of the most radical technologies for reducing greenhouse gases economical.