macOS may have technical advantages, though less and less over time. But it always had a dramatically more restrictive business model from the very beginning.
This is what made it unattractive to business and continues to make it unattractive to many.
The restrictiveness of Apple is likely an advantage for novice mobile users, and other vendors copied it.