U.S. stocks fell sharply as the market punished companies seen as potential losers from artificial-intelligence technology.