It's really the sticker price that is important; you can need a fair bit of shockingly expensive stuff to properly fire something on target, and really doesn't take very long before someone stops looking at an uncrewed vessel as not a writeoff.
Also, as soon as it has weapons, and associated comms and crypto onboard with some kind of sensor package, physical security is a very real consideration. Last time I was supporting discussion of a uncrewed ship with weapons it very quickly went from uncrewed, to uncrewed with security, to uncrewed with security, with DC and support for the security... to fully crewed.