A Chinese court has ruled that adopting AI is not a lawful excuse to fire staff, ordering a tech firm to reinstate a worker it tried to replace with a large language model — an early sign of judicial pushback against AI-driven layoffs.