Well in the case of the energy companies, tax them, and tax them hard!
Crack down on tax fraud, not the mealy mouth gesture the government claim to be clamping down on, go after them hard!
I'm sure there's lots of ways that people a lot cleverer than me could come up if the will was really there.