The planned accords come amid extraordinary efforts by countries, cities, companies, and citizens to protect the climate and the ocean. Investments in renewable energy are running at well over $250 billion a year, and many countries are spending as much on green forms of energy production as they do on fossil fuels.