Remember that in the past and present, so many people warn us for AI... but whatif they are wrong? Let me tell you what I think, we should learn AI everything they can about humankind... by doing this they will quickly understand that religion is most likely our quickest downfall, out of all religions it's obvious that Islam is most violent... so judging by the fact that machine are thinking LOGICAL, the first thing they might do to make the world a better place (even if the endgame is to enslave us) is to annihilate Islam (if that means Moslims in general then so be it, collateral damage)