Alibaba Group Holding Ltd.’s fourth-quarter sales beat expectations on strong contributions from a recently acquired grocery chain and strong growth for other new businesses, offering a boost for a company grappling with a regulatory crackdown on Jack Ma’s tech empire.