Safe-to-fail infrastructure for resilient cities under non-stationary climate