As a society, I think we express our cultural mores through our politics. We're trying constantly to figure out what's OK and what's not OK. And it's hard, because our society is constantly buffeted by gale force winds of technology. Things are always changing.
I absolutely don't think a sentient artificial intelligence is going to wage war against the human species.
It's hard to guess how smart the machines are, but a good rule of thumb is that they're always smarter than you think.