Sure Google has closed ad-serving & intra-net/inside the firewall things but a huge huge huge amount of what they do is open source. Chromebooks, android, vast vast web systems from closure to amp to polymer/lit: open source, huge compilations of open source technogies. Chromium, open source. Huge ranges of Google activity is open source.
Microsoft today is hugely open source. VSCode is open source. WSL is hugely built & expands on open source. They release their Azure networking distro open source. They would have collapsed into Cuisinart irrelevance if not for open source.
Asking whether companies have proprietary closed source is not the right question. Looking & jduging the bigger picture, of whether we- Tim Oreilly style- create more value tham we capture- is the metric. This small view you presemt that any proprieary software means open source is irrelevamt is blinders, ignores the active change underway, ehere more and more keeps getting open sourced, to remain relevant & interesting & active. Contrary 100% to your pro proprietary position, I see no companies succeeding without doing open source, without participating.