The times have changed in the past 5 years, going all out on China is simply untenable. Leaving China on the other hand is positive PR.
Just because Apple couldn't officially sell any iPhones in China doesn't mean that the Chinese public would suddently stop coveting them. I don't think they'd blame Apple if it came to that.
Manufacturing, sure. Consumers? no.
Apple traded it's privacy priority for profits back in 2017 when it gave backdoor access to all the iCloud backups - https://www.nytimes.com/2021/05/17/technology/apple-china-ce...