A robot does whatever its program tells it to do.
It’s more likely that stupid programming will have robots doing violent and dangerous things, than a whole clan of robots will rise up and revolt against humans.
BTW, there is no such thing as “artificial intelligence.”
Fight the Free Sh☭t Nation