Cyber Resilience Enabled by Endogenous Safety and Security: Vision, Techniques, and Strategies