This used to be true in the past. In the past, it made sense to make tools open source and make applications proprietary. But these days it no longer matters since all modern scum are revolted by good code and wouldn't use it anyway.
That is possible but that is a different argument from your initial post. In my businesses, I keep everything internal private, not just the code. This includes my name, of course.