But I think that's because open-source software development companies are the exception rather than the norm. No one expects you to open-source your software and then hope someone hires you for your services or buys one of your t-shirts. It's still the norm in our industry to write something and sell copies of it.
Plus, software pays more. Software developers generally don't get squeezed. Musicians, on the other hand, never seem to catch a break.
EDIT: Or, even better, it's the norm to sell a monthly right to use what we wrote.
Also, freemium games have business models very similar to music. Yeah, there are some successful freemium games out there, but in general it's pretty brutal and depressing.