What on Earth... Is this the same for Android? I come from the web, and this sounds like madness. You need to login to write code?
This hasn't been true for iOS either for the last N years, AFAIK you can sign apps for free to load on your devices, but the signatures are valid only for a week, so you have to reload the apps at least every week.
Guess where the key required for signing the binary comes from? That's right, it comes from your apple developer account, automatically downloaded and provisioned by xcode when you hit the build button. Without a developer account you won't have any valid key to sign the build, even for debug build. Afaik the only way to skip this is to jailbreak your device so it can run unsigned binary.
Xcode, the SDKs, etc. are licensed, not open source, and probably contain clauses allowing apple to terminate the license.
The issue is that Epic will lose access to Apple developer tools and will struggle to maintain Unreal Engine going forward and as such that may hinder development of those games in the future.
There's no indication or reason to believe Apple would manually remove all UE based games (because it wouldn't be something they 'revoke' and all UE games stop working).