Investment in 1,500 new coal plants around the world could be wasted if action on climate change and pollution prevent them from being used