Pope Leo’s wide-reaching encyclical on artificial intelligence (AI) is a welcome warning on the perils of technological change that could trample on human rights. It also closely echoes established principles of international law.