Many people do just jump in for the money, and others in this thread have addressed it, so I won't except to say that there are people who start out in an industry because they need the money (for example, I had to live on my own and start work at 17, no familial support), but then realize they really enjoy it and stay for the other stuff: problem solving, puzzles, building elegant things, and all the rest. Perhaps not most, but there are some.
As far as the passion vs. profit stuff, there's no denying that there's a serious tension there, and that's not going anywhere anytime soon. I've dealt with this too, and I saw three choices:
1) You can live like a pauper in an expensive area/decently in a very cheap area and do what you enjoy, even if no one ever buys it. There are people who do this with code - I've seen plenty of indie game devs pick a cheap area in the US, work the occasional freelance job, and spend every other moment working on their games. This can be a totally valid path if you're OK with its limitations. You know what this is like from the art side already, too.
2) You can try to get wealthy and then do whatever you want - no more working terrible jobs, being paid a fraction of what you're worth, being engulfed in [other] company politics, working for others when you'd rather be working for yourself, etc. I'm sure many people of us here on HN are doing exactly that.
3) You can try to find a decent compromise - some companies will give you 5% time, others may pay you to just do research (a previous company I worked for paid a few people to do nothing but work on an audio/3D visual coding framework, for example), others simply hit that sweet spot of giving you interesting stuff to work on for decent money.