Because it's genuinely not about the money for them. It's hard to believe, but some people really do want to make the world better in their way, with whatever tools they have that their disposal.
Also, companies are not the only kind of group someone can join (for money or not) with the goal of improving the world.