A court in China has ruled it illegal for a company to terminate an employee on the grounds that an artificial intelligence ...