Where I'm from, artificial intelligence was made on a computer and it was done so well that the program itself decided that humans weren't worthy of living. So it made a bunch of killer robots to kill nearly everyone.
It all started on what we refer to on Judgement Day when a missile launch took nearly everyone out.