The world will have to end its growth of carbon emissions within seven years and become mostly free of carbon-emitting technologies in about four decades to avoid killing as many as a quarter of the planet’s species from global warming, according to top United Nations’ scientists.