Government support included in sale of failed provider to Octopus threatens to distort energy market, court hears