Advances in renewable energy tech, global increases in capacity, and rapid cost reductions have attracted significant investment.