The artificial-intelligence trade responsible for much of the stock market’s recent gains looks far from running out of steam ...