That would be an interesting wrinkle. I’m not a lawyer, so I have no idea if that would work, but I’m guessing by the same justification you just made, Apple could excuse itself very easily. Epic might be stuck though—depends on the TOS. Kinda hope someone does this. . .
I think Apple would be happy to refund any purchases which had not been paid out to Epic yet.