The tech-heavy Nasdaq composite slid 1.5%, while the Dow Jones Industrial Average finished up less than 0.1%. Palantir Advanced Micro Devices and Nvidia —all megacap tech companies that have posted big gains this year—were among Tuesday’s worst performers. Meanwhile, real estate, utilities and consumer staples outperformed, in a sign investors could be rotating to stocks that stand to benefit most from lower interest rates.