It's like everyone is literally ignoring every Science Fiction book/movie ever, and in those stories humanity is always taken off-guard by their hubris. I think the big difference is that in fiction, the machines are really intelligent and decide they want to kill us all. In reality, the machines are really stupid next word prediction machines that generate text based on all of our collective works (including those about Terminators).
The machines won't kills us all because they're smart/evil. It will be people who are so stupid they think the Machine are Oracles, giving more control to the random word generators, trained on the best and worst parts of humanity, and allowing them to destroy us (really us allowing them to destroy ourselves) by pure randomness and not any actual malicious intent.
But yea, keep making those robots with massive security holes and continue to give them guns.