I suspect that a significant portion of open-source development is paid work that meets a business need, but not the business' product. I know that what little open-source contribution I've made has mostly been stuff I had to do at/for work that was easy enough to break off and have as a separate library/module.