Global investment in renewable energy has hit $288.9 billion in 2018, with the amount spent on new capacity far exceeding…