I haven't torn apart electronic devices lately; guess I'm getting old and lazy. Back in the day when I *did* involve myself with dis/assembling electronics, I saw many components (chips, transistors, misc stuff) stamped with worldwide origins: N.Ireland, S.Korea, El Salvador, Malaysia, Israel, even USA! Not too much from old Soviet Bloc countries though. (*)
Like money, production is fungible -- bits and pieces come from wherever it's economical to do so. Boycotting China (or any other state) is close to impossible, since so much materials and parts production is there now. Do your chips and batteries contains Rare Earths? Likely from China. Do you eat vitamins? Guess where they came from.
China is intricately connected with the global economic system and can't be removed, no matter how detestable their leadership may be. Other nations have abominable politics too. You may live in one. But I digress.
________________________________
(*) Shall I tell a tale of USSR digital electronics? In the late 1980s BYTE magazine did an issue on EastBloc computers. At the time, commercial Western- or Asian-made hard disks typically contained a list of bad sectors that needed to be mapped around. Entering those sector numbers was part of the 'fun' of configuring such drives. According to a BYTE article, USSR-made CPU chips of the era came with lists of non-functional INSTRUCTIONS per chip. So warez needed to be custom-written for EACH MACHINE to avoid using the funky codes. No XOR on this one, sorry...