Powerful command-line environments are offered everywhere (wsl, Linux container on Chrome, Linux on Linux). MacOS is actually quite lacking in comparison (being limited wrt licenses and lacking a package manager). So it’s just a GUI question, and I’m not sure there is a definite lead these days.
Integration with their other hardware devices is the more important moat right now, as is hardware.
Integration with their other hardware devices is the more important moat right now, as is hardware.