Amazon reported its Q4 earnings on Thursday, and a big investment in its AI plans saw investors send shares lower.