I would much rather have a locked down phone which is secure, as I rely on it for many important functions in my life. I’ll leave the cheap web servers to a Raspberry Pi, CDN, or VPS thank you very much.
I used to be a big Android advocate years ago when I wrote a lot of code myself. Now I prefer a locked down iPhone that always works at maybe a bit higher cost. It feels like many more people have gone through that switch.
Even though I'm not idealistically aligned with the locked down App Store approach Apple takes, their ecosystem just works well for my needs.