Text this: Damage-tolerant mechanical metamaterials designed by fail-safe topology optimization