So China's ebullient technology sector is applying the same techniques it has used to transform Chinese life — and, more darkly, that the Chinese government increasingly uses to spy on its own people — to make sure its pigs are in the pink of health.