Developing free software to get rich is like being in a punk band to get rich. It probably isn't going to get you to a standard of living above the poverty level, and if it does get you rich, you had to sell out a little.
So why do people do it? That's a real head scratcher, if you're a capitalist.