It's not as simple as that. Apple does not approve cloud gaming apps either.
The overarching rule for the App Store when it comes to these things that the implementation details are completely irrelevant, the only thing that matters is what a user sees when they open the app.
I don't like how Apple is enforcing it, but that's arguably better than outright banning these platforms.