With advances in 3D printing, nanotechnologies, AI, material science we are near the production of the self-replicating factory - very suitable for Mars colonization (maybe 30 years).
Later devices can be smaller and smaller and maybe rich the size of the
Grey goo - as a hypothetical end-of-the-world scenario involving molecular nanotechnology in which out-of-control self-replicating robots.