Apple's market cap nears $2 trillion