Britain proposed new online safety laws on Monday that would slap penalties on social media companies and technology firms if they fail to protect their users from harmful content.