A U.S. court temporarily eased Pentagon-related restrictions on Alibaba, and the company tightened AI security.