Selling shares to raise money to donate to charity feels highly likely to net negative social good regardless of how the funds are spent.
You could simply retain ownership of an important biomedical company or you could share it with employees.
Selling shares for money that you then give away is dumb.