Is AI a Friend or Foe to Humanity?