Clean energy investment is accelerating rapidly worldwide, but the fossil fuel industry is spending billions each year shaping public debate and attacking renewables.