NBC: S&P 500, Dow score record high closes as Nvidia results buttress AI rally