You have a valid point overall, but some of the apps you mention are not tied to the OS, as you say. I use a lot of google apps on my iphone, including google maps, gmail, chrome, google home, drive, gemini, google photos, google calendar...
That's one thing that's nice about iphones is that it doesn't lock you out of the google ecosystem. But if you have an android, you will have zero access to the apple ecosystem. Yes, I know this is because of Apple, but still holds true.
And you are right about OS support with Apple, but they offer OS support for an insanely long time, which includes security updates. They just had an update available for the iphone 5s, 13 years after it launched. I don't use phones that long, but if I did, the security updates would be more of a concern than individual app updates by a huge margin.