Elon Musk, the world's richest man, struck a deal Monday to buy Twitter for $44 billion, capping a saga complete with hostile takeover threats before delivering him personal control of one of the most influential social media platforms on the planet.