As the energy sector moves away from fossil fuels and shifts towards a greater share of renewables and greater electrification, these tax revenues will come under strain.