The record share sale gives Alibaba fresh funds to expand its AI operations amid intensifying competition.