Literally half the operating system is open source macOS, they have an entire site dedicated to it. opensource.apple.com.
Oh and don't forget googles ridiculous amount of effort poured into Android open-source source tree, just to name one of many.
I honestly can't tell if you are trolling here or not.