And if you're a mobile developer, you must have a Mac, because the proper tooling for iOS does not exist on other platforms. So even if you target multiple mobile platforms, you'd develop it on a Mac.
iOS is only relevant in 29% of the world, many countries don't even have a relevant iOS market at all, they are fully into Android and feature phones.
Quick googling confirmed it: "Spending on iPhone users accounted for 68.13% of all consumer spending on mobile apps, while Android remained with a 31.87% share of app spending worldwide in 2024".
So while it is 30% in users count, it is 70% in spending. If you want your app to generate money, you'd have to make an iOS version, otherwise it would be irrational.
Same logic applies to desktop apps. It is irrational to spend resources on a native version if you can get to market faster and cheaper with a web-based thing. So from the first principles, today's successful and popular apps must be coded like that. Surely, there is still a lot of legacy...