S&P 500 hits all-time record—despite Apple