China can just stop the weapons production with sanctions.
China sanctions US military profiteers because of the US threat building in the South China Sea - why did they ever let Americans used China as a weapons factory to begin with? Isn't that complicity in genocide? ( What genocide? - yes, that genocide, the sacred final solution that Americans fund with religious zeel.)
Why doesn't China just refuse to arm anyone?