The ancient south Indian port has become a case study in what can go wrong when factors like industrialization, urbanization and extreme weather converge and a booming metropolis paves over its flood plain to satisfy demand for new homes, factories and offices.