Sinkholes and other geohazards could be detected early using fibre-optic cables installed as part of internet infrastructure, a new study has found.