Fair point but that’s largely due to security not Apple’s desire to lockout other browsers.
I don't think Apple has demonstrated more commitment to "building secure devices" than to "building a tightly walled garden to maximize leverage over developers and users".
Edit: grammar
They led the way on iOS with Sandboxing, Secure Enclave, forcing HTTPS, on-device ML, on-use permissions model, fingerprinting prevention. And TouchID/FaceID both were popularised on iOS and made simple and reliable enough to be used by tens of millions.
True, but that doesn't negate other intentions.
Lol, if I remember correctly Microsoft also used the "security" angle to defend their monopolistic behavior too.