Twitter shareholders voted Tuesday in favor of Elon Musk's purchase of the social media platform, despite his efforts to get out of the $44 billion deal.