I think it's less about building a productive China, and more about maintaining power for those in charge, but they could also honestly believe that the masses need to be controlled in order to have a productive China.
IMHO, the US also has an overreaching surveillance state, and it also exists to maintain power at the cost of overall productivity and quality of life, but it's to a lesser extent than China.