Nvidia dropped almost 5%, pacing a steep decline in tech stocks, after President Trump threatened more tariffs on China.