U.S. stock indexes rose to more records Wednesday after tech companies talked up how much of a boost they're getting from the artificial-intelligence boom.