Nasdaq rises as Apple nears $2 trillion in market cap