Sustainable Safety in Mobile Multi-robot Systems via Collective Adaptation