If Apple sticks to their guns, they can just stop doing business in the UK. And the UK government will have zero rights to demand anything from Apple.
I think the odds that they quit trying to earn the ~$100B annual revenues they get from the UK over this is closer to zero than 1