I don’t believe slavery was ever as prevalent in China as in Europe. Complex rice farming discourage the use of slaves. Chinese farmers usually had a more independent position than in Europe. European peasants ran away to towns in medieval times for a reason.