Twitter's shareholders have overwhelmingly voted for Tesla CEO Elon Musk to take over the social media platform.