The S&P 500 extended last week's rally, notching the biggest gain over a four-day span since June as all 11 major industry groups rose. Apple Inc. was the largest contributor to the benchmark's advance as pre-order data showed the iPhone 14 Pro Max was the best selling model, surpassing what the older version did over a similar timeframe.