Apple stock market cap hits $1trillion