Is this really a good idea? Skynet anyone?

I had imagined something like this where they would give robots a start and see if they can improve upon themselves just like the human race has.