The UK said it would work with the energy industry to try to stem the fallout from soaring gas prices after fears grew that more energy providers and food producers would struggle to operate with such high costs.