A submarine automated drone production and deployment platform would be as damaging to a Navy today as aircraft carriers were to battleships.
It's not like taking crude, cracking it, then refining the plastics, yadda yadda yadda. It's more an fast automated assembly thing.
Lots of weapon systems already require some assembly before use (for compact storage and other reasons), but we don't call that "production" of weapons.