Done in the smart way open sourcing can give a company free developers labor.
In the same time to have a complete product some key parts are not open sourced.
The money saved from paying developers are fueled into marketing so that competitors are left to catch up…