The US president has done more than anyone to accelerate the world’s green revolution and pull forward the irreversible collapse of fossil fuels.