Well, the difference is that Apple sells hardware. It actually used to be the case that computer manufacturers routinely bundled operating systems for "free" with their hard ware. This has been a kegal issue in some cases, e.g. https://supreme.justia.com/cases/federal/us/473/908/