To add to this: not all companies have a stellar engineering team that is capable of dividing the code base in such a way that some could be open sourced while other remains private. The legal team for said companies know full well the technical debt and as a result everything remains private.