Climate change is expected to drive demand for clean energy in the decades ahead, giving an edge to countries that invest in the manufacture and export of low-carbon technologies.