Nvidia’s stock swooned and regulators are restricting its chip sales, but the American AI giant sees a long game in China.