That’s a good point. I have no doubt that such has happened more than once. Here’s a bit of story regarding the development of the computer system:
When IBM came to Microsoft asking for a 16-bit operating system, the company had to scramble to get one together.
Rather than writing a new one from the ground up, it turned to Seattle Computer Products and its existing 86-DOS (aka QDOS), and bought a non-exclusive license for $25,000.
The next Spring, in May 1981, it hired away the program’s author, programmer Tim Paterson. And then, on July 27, it paid another $50,000 for all rights.
A month later, it was shipping on IBM personal computers, and eventually turned Bill Gates and Paul Allen into two of the world’s richest men.
https://gizmodo.com/bill-gates-spent-the-best-money-of-his-life-30-years-ag-5825184
Pirates of Silicon Valley (1999)
https://www.imdb.com/title/tt0168122/