Fearing a potential conflict in Asia, western companies are looking to move production out of Taiwan. But turning away from the self-ruled island will come at a high price for manufacturers