An early stock-market rally gave way to broad-based selling on Thursday, as doubts about the artificial-intelligence trade re ...