 The company also reported $332 million in net income versus a net loss of $1.9 billion in the year-ago quarter. The shares have more than doubled in the past year as the company rides the artificial intelligence boom. Amazon's market capitalization surpassed $2 trillion for the first time yesterday, joining the ranks of tech giants like Apple and Microsoft.