Amazon will report its quarterly earnings on Tuesday, following a massive AWS outage and amid concerns about its AI growth.