S&P 500, Nasdaq fall from record levels as Nvidia declines; China-linked stocks surge