The world is set to make abundant energy by the second half of the decade as the production of batteries and solar panels surges — but there’ll also be an excess of planet-warming fossil fuels, a report released Wednesday by the International Energy Agency said.