A Chinese court has sentenced a man to death for his role in the production of tainted milk that left six children dead.