I don’t know if that would matter in an actual war between china and the US but sending explosives at anything that’s warm sounds like a war crime. That would probably violate proportionality.
TBH once these platforms become deployed, noncombatants are signing their own suicide note even being close to battlefield. I imagine rules of engagement, expectations on civilians will simply change/devolve, i.e. most you can expect from "responsible" users is some map coordinates for murder bot no man's land where they shouldn't be. This without even mentioning we'll likely also see loitering drones hibernate as proximity mines / area denial munitions if they don't find targets. It will get very, very messy.
If there is a hot war between them any notion of civilities like war crime rules will be out the window by day three
Only the losers get to trial for war crimes, so just don't lose.