Chip rally lifts S&P 500 to record 7,737 on AI earnings