Very uninformed guess: couldn't you just have a factory with information of a different factory, with information of a different factory, with...?
While the original factory is not self-replicating, if you reached a fix point you would get a self-replicating factory