I agree human beings always dig their own grave and we can easily say human beings will be the one responsible for the end of world in future. However, if we see the other side, integrating human emotions in robots will make them foolish and power hungry too, at the same time they will have good emotions inherited from humans like empathy, and pity. Robots will be intelligent enough to know that destruction of human beings will lead to betterment of the world in long run but at same time they might also through their emotions understand that killing human beings is wrong and they should help human beings to not to destroy the world by co existing? In both ways, it will turn to a mess lol. So I think it will be a loop hole situation