The UK will now not intervene in one of the biggest media deals in history after assurances were provided to the government.