The first US pope also warned against using AI in warfare in a message released ahead of the World Day of Peace