As I understand it, the board is responsible for putting the motion to the shareholders (Twitter shareholders still had the option to reject the Musk buyout). In practice, the board makes the decision because retail shareholders tend to not vote. But they could, if most of them were about to take on a big loss!