A regulator will investigate whether Facebook and Google had disrupted the news media to the detriment of others.