The S&P 500 index reached a new record high, primarily powered by technology stocks. Most other U.S. stocks were down, with the market's AI engine noted as firing on all cylinders.