Demand for AI and core cloud services is boosting Amazon's key profit engine, with AWS growth accelerating to a 36.7% annual pace.