I think the security expectations for those two platforms are very different, and that's why Apple balances them differently.
MacOS gives up a lot of security for those extra abilities, and on MacOS I don't feel like I ever really had security. For example, I begrudgingly run shell injection attacks on myself every time I download some large codebase, which I am never going to review all of, or run brew, etc. It has been that way since the very beginning. Not so with iOS.