Renewable energy consumption will no longer be exempt from tax in the UK, in a government move that has been slammed for discouraging investment in the sector.