Brexit hammered the stocks of large U.K. media companies, amid fears about the impact on their business.