Russian cyber operatives have attacked Britain's media, telecommunications and energy sectors, a U.K. official said.