Pope Francis, the first American pontiff, published an encyclical warning that artificial intelligence cannot be made morally acceptable for warfare, drawing mixed reactions from political leaders and tech executives over the sector's expanding military applications.