Not specifically about AI, but "Click here to kill everyone" by Bruce Schneier will make you think a bit.