Apple did not create the OS - it is BSD Unix - they created the interface IOS. It is UNIX underneath.Apple only has to create operating systems and applications that operate on hardware they designed. Microsoft, by contrast, is burdened with ensuring compatibility with a virtually infinite number of hardware combinations from multiple manufacturers. And, hardware vendors like Dell, Lenovo, Asus, etc. don't make operating systems.
Microsoft does not provide compatibility for any vendor except for Microsoft Hardware (Surface) - it is up to the hardware makers to provide drivers that fit into Windows.
Just like it is the Hardware vendors that provide drivers for Linux.
Apple has been slow to move to newer hardware as BSD Unix is not a flavor that Hardware vendors write drivers for - Apple probably has to convert Windows drivers to work with BSD Unix. I had to make Micro Channel hardware work with AT&T Unix - not always bug free. Ironically Microsoft had to do the same for SCO Unix and we shared drivers. (Microsoft owns SCO and majority owner of SUSE Linux). I am retired now and prefer OpenSUSE with MATE interface as it looks like Windows XP and not like Windows 10.
I still cannot believe that most computer users are not on Linux - it is more stable and has bug corrections almost daily. Only Kernel bug fixes require reboots. Many Kernel updates are to support new CPU hardware.
Almost evey flavor of Linux can be booted from CD or Flash Drive to be tested driven. There are many interfaces - gnome, kde, cinnamon, xfce, mate and some that try to look like IOS with the green yellow and red dot interface.
xfce is like windows 98, kde is like windows 10, cinnamon like vista.