The prime minister says he will move to more strongly “regulate” social media firms.