US uses less than 1% labor force in agriculture due to the fact that it hires a lot of seasonal workers from central Americans. In addition, the US has spent hundreds of billions handouts each year to compensate farmers. Not sure why anyone would want to cripple China farming sector just to get rid of small farms.
Many people don't even take China geography into consideration when suggesting high tech farming. As exception of Northeast, Henan, and small area of Zhejiang, most provinces in China are not suitable for high tech farming due to its mountainous landscape.
As for pig farms, China previously attempted to regulate pig farms by shutting down small pig farms that do not meet environment regulations. In the end, many small pig farms have been shut down before the swine epidemics. Consequently, the swine epidemics coupled with shutting down small pig farms resulted in the biggest spike in meat prices that caused the inflation to shoot up and resentment from the general population. The government recognized its mistakes and has allowed many medium and small pig farms to restart.
Big pig farms are important but medium and not so small pig farms can still survive. China doesn't need to be all corporate farms like the US. In addition, China doesn't have that much farmers if you took farmers that work in factory and construction into calculation. More importantly, small farms provide stability towards low income families. For example, the pandemic has forced many factory workers to return home and many of them have taken up farming and street vendors to replace their loss income even though it is only temporary. People need to recognize China is still not a developed nation that needs to look after many low income family and don't offer as much welfare to minimize economic downturn. Small farms even rent out provide a cushion to many unfortunate ones.