Trillions of dollars will be invested in renewable energy over the next 25 years, driving some of the most profound changes yet in how humans get their electricity. That’s according to a new forecast by Bloomberg New Energy Finance that plots out global power markets to 2040.