Or one can easily manufacture one billion microcontrollers pre-programmed to meet the requirements and take it to the planet for build surroudning the controller.

Rest needs to be made, the shells, the gears, the motors, batteries, and whichever components, with the exception of the most sophisticated ones.

it isn't self-replication from scratch, but it will multiply to the amount that is readily there to be made.