European companies that once treated China as an irreplaceable production base are now quietly rewriting that assumption.