I was thinking more of an AI which hires human workers to build drones. Perhaps for profit, by making cute children’s toys and deciding they need a LIDAR that “accidentally” has a mode where the beam is stationary instead of scanning rapidly, thus turning it into a fleet of thousands to millions of flying weapons.
Corporations don't self-replicate, at least not intentionally. They tend to grow larger and larger until antitrust breaks them up. (This has happened enough times for me to suspect that it's how things generally work.)