“Open sourcing” is not just a legal state, it’s an affirmative act that takes work to prepare the codebase for public consumption. Saying that all the weird business code in the world should be involuntarily publicized is an incoherent concept. What precisely would OP expect to happen in a world that adhered to their opinion? Because to be clear, 90%+ of all code being written today is LLM-generated, so OP suggests that companies should no longer have any privacy wrt their internal software, all LLM code just gets yeeted into the public. How could that possibly work?
Given how easy it is to write software now, this perspective seems to overindex on a past state of the world that no longer applies.
This opinion by OP also assumes that code itself has some form of value. With the ways LLM work now code by itself is nigh-on worthless and as the models are becoming more capable, the value of code keeps going down.