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