Outsourcing chips manufacture; do they get pirated?
It doesn't matter where the chips are fabbed. Many Intel chips are designed in China and India anyway. Or in Israel. What prevents the complex chips from pirating is their built-in complexity and built-in security.

To begin, the chips are fabricated from tape-out files that are used to create photomasks. One can't get a functional chip without its hardware model, the RTL, and one can't reverse the RTL from photomask pictures. Even if someone steals the RTL database, the chip layout is done by a different team with highly secured library database and tested under a dedicated verification suite, so one can't reproduce the usable tape-out files.

Then the chips are packaged at entirely different location or country, which requires a different set of tools and programs to run them. 

The chip itself is not usable until it gets binned and configured with irreversible fuses, which is done by completely different team and tools. The chip is still not usable until its internal service processors are programmed with corresponding microcodes, which were developed and executed at completely different facility and different teams. Without going through all patches a BIOS can't configure any internal peripherals/PHYs, especially if most configuration functions are secured by encryption that is individual for each chip.

Unless you have all this infrastructure of 50,000 hardware/software engineers working together, you can't expect to get a working "knock-off" product.