Apple detects whether a Chinese user uses the Taiwanese flag emoji[1] in order to corrupt its display. Nothing is stopping them from pinging back home when a Chinese citizen says or reads the wrong words.
But they have not hired a team of 300 engineers to notify the government of the use of the emoji. Apple still uses the Secure Enclave in the iPhone in China. Apple still end-to-end encrypts most data sent to iCloud with the Enclave.
Google and Apple's products here are so disparate in how they infringe on user privacy that the comparison isn't even warranted.
[1] https://9to5mac.com/2018/07/11/apple-china-taiwan-flag/