S&P 500 hits record 7,814 as cooling inflation fuels AI rally