Ofcom warns legal action by operators threatens 5G services