Wouldn't you have to build a replicator big enough to fit a starship inside it before it could replicate one? It's one thing to replicate soup and sandwiches... If you're just replicating the raw materials or finished parts,you'll still need thousands of people to build millions of ships.
-PJ