This reminds me of this movie : Colossus The Forbin Project Ending. A really good movie about AI.
(warning, spoiler)
(warning, spoiler)
If you liked the movie 'Trancendance' from a few years ago, check this out... you'll see some awesome parallel storytelling.