It seems like a robot that builds robots would be one example.
Another would be a program that writes programs. There's a word for that: metaprogramming and people do it all the time.
Another would be a program that writes programs. There's a word for that: metaprogramming and people do it all the time.