After fueling China’s growth for decades, American businesses are now pulling out, as its political and business landscapes shift.