Developing countries account for the majority of future CO2 emissions but only receive a fifth of clean energy investment.