Nasdaq, S&P 500 post record closing highs as Apple soars

by