A bruising sell-off in artificial intelligence stocks on Friday knocked the S&P 500 down 3.7%, dragging the index to its worst weekly loss in more than 18 months, and pushed the Nasdaq composite into the red for the year. The benchmark index is now in what professional investors call a “correction,” having fallen more than...