A Chinese court has ruled that companies cannot fire workers simply to replace them with artificial intelligence systems, as authorities…