Intel and several others successfully abandoned China without issue. The rational choice in high tech manufacturing is to say as far away as possible.
Intel's only factory in china uses 300 or 65 nm processes. That's Pentium 4 level manufacturing, and clearly not using critical x86 IP.
They are currently building yet another US factory for 7 nm processes.