Google (Alphabet), Microsoft, Amazon, Facebook all use hardware from China, but most of their revenue comes through software interactions. Google does not officially even operate in China. Amazon has a limited corporate footprint in China.
I think it’s reasonable to say that Apple has higher risk related to China than many of its competitors.