China’s security crackdown could signal new realities for foreign investors