Twitter shareholders voted Tuesday to approve a proposed $44 billion bid by Elon Musk to buy the company, even as Musk seeks to escape the deal.