Just for perspective, a person who invested in the stock market recently and got a 5% return would be said to be investing poorly.
5% may not seem like much, but just for comparison, 5% of a trillion dollars is 50 billion dollars. I think you can see the point. Musk could solve world hunger, and it would be like chump change to him, even if he did fairly poorly with his investments. He wouldn't even have to touch his savings.
He's refusing to help people whose lives are being ruined without that help, or who are dying, even though the only penalty for Musk is that he would be getting inconceivably richer at a slightly slower rate.