Another big selling point of Apple is the hardware. Their hardware and software are integrated so seamlessly. Things just work, and they work well. 99% of the time - there’s always edge cases.
There’s solutions to running Linux distros on some Apple hardware but again you have to make sacrifices.