For a robotics company, their code is the "secret sauce" that makes their company valuable. It wouldn't make sense to open-source it all and let their competitors do the same thing without having had to spend so much money and time developing it.
Open source works great for shared code that isn't part of the "value added" by a company. So for a modern robotics company, it makes a lot more sense to use Linux for instance rather than rolling their own proprietary OS. And to use an open-source compiler for building the code. They're in the business of providing solutions using robotics, not selling operating systems and compilers, just like countless other companies build their products on top of these infrastructural tools, and sometimes contribute bug fixes and improvements back. But the code that actually makes the robot work (vision, motion planning, etc.) is what they spent most of their funding building, so giving it away makes no business sense.
Basically, you're complaining about all companies having trade secrets, and ultimately, you're complaining that competition exists instead of just having a single company having a monopoly over a whole market.
Open source works great for shared code that isn't part of the "value added" by a company. So for a modern robotics company, it makes a lot more sense to use Linux for instance rather than rolling their own proprietary OS. And to use an open-source compiler for building the code. They're in the business of providing solutions using robotics, not selling operating systems and compilers, just like countless other companies build their products on top of these infrastructural tools, and sometimes contribute bug fixes and improvements back. But the code that actually makes the robot work (vision, motion planning, etc.) is what they spent most of their funding building, so giving it away makes no business sense.
Basically, you're complaining about all companies having trade secrets, and ultimately, you're complaining that competition exists instead of just having a single company having a monopoly over a whole market.