Pope Leo XIV has warned that digital technology risks replacing genuine human interaction.