U.S. stocks ticked higher after Wall Street showed its appetite is still big for winners of the artificial-intelligence boom. The…