The worst day for Microsoft in nearly six years is yanking the U.S. stock market away from its record heights.