A Brazilian city is on the brink of being completely swallowed up by the earth as it battles environmental problems.