In a $33 billion agreement, Elon Musk’s AI business buys out X, a social networking platform.