Sure, Alibaba broke the law. But there is no rule of law in China. If laws were truly enforced the entire system would collapse.
This was using the law as a weapon to keep companies in check. If this had been another company firmly in the pocket of the CCP, this would have been overlooked and never made public.