What else do they do besides provide a payments gateway ( that they force you to use)? As seen with Android, you don't need to use the official app store to use the official SDKs and platform APIs.
Developing 3rd party frameworks is a meaningful expense. AOSP means Google made a business decision to incur that expense and sign away rights to it, but Apple hasn't.