The CEO also highlighted shifts in consumer spending and made clear Amazon’s intention to continue expanding into the health-care space.