Millions in Great Britain could face emergency power cuts as grid operator prepares for blackouts.