Industrialized nations are turning their backs on an increasingly illiberal China.