That is the problem.
The semi business extremely capital intensive, means if half of a company assets become useless then the give company immediately goes into bankruptcy.
Of course other side it questioning the benefit to give free loan to the USA in the form of trade surplus.
If there is nothing interesting to buy with the freshly printed money then what is the purpose of the trade surplus ? Makes it possible to send the children of Chinese government officials to the USA ?
Gee you forgot all the salary paid to the worker for the export economy allowing million of Chinese to enjoy middle class living for first time in History, Improvement in China's industries across the board, building supply chain network again employing million of Chinese.
Advance the high technology industries employing million of Universtities graduate and advance the military
Providing tax base for cities, regions, province to built infrastructure and provide social service. You reading too much western propaganda It is not only the Communist cadre who benefit from export economy but million of average people.
Problem with surplus is how is best to use them China did try to use it for the benefit of poor countries with BRI etc but it also pitfal of mismanagement and poor allocation of aid
Other use of securing raw material for Chinese industries by buying mine,oilfield, farm, port etc