It has often been pointed out that the energy required to free metal from its parent ore and position the atoms properly in the crystal structure required by high-grade materials would be more than a typical microscopic machine could deliver. So nanites really aren’t a viable solution, at least not on their own.