Energy group risks investor exit as Ofgem plays hardball