To be fair, it would be rather trivial to port the upper levels of OSX to any other Unix-like OS. Darwin exposes a very BSD-like interface to applications.
Apple considered, for some time, replacing classic MacOS with Linux (I have used Apple's MkLinux a lot).
Apple considered, for some time, replacing classic MacOS with Linux (I have used Apple's MkLinux a lot).