Tech giants Apple and Amazon both reported earnings on Thursday.