Alibaba is undergoing a major AI investment cycle, causing a sharp drop in profits and free cash flow. Learn why BABA stock is a buy.