Elon Musk reached an agreement to buy Twitter for roughly $44 billion on Monday, promising a more lenient touch to policing content on the social media platform where he — the world’s richest person — promotes his interests, attacks critics and opines on a wide range of issues to more than 83 million followers.