Chipmaker Nvidia is expanding restrictions on chip sales to foreign nations to protect American technology.