Amazon is reporting third-quarter earnings on Thursday, days after the company announced it's laying off 14,000 people.