All over the world, rural areas are witnessing rapid demographic decline – many are already completely abandoned. Arresting this trend and attracting people back to the countryside won’t be easy, but technology might hold the key