Erosion of animal cultures in fragmented landscapes