Global capital spending on renewable energy projects is quickly catching up to oil and gas.