Gates and some countries will collaborate to double research and development budgets to boost clean energy deployment.