\texttt{R$^\textbf{2}$AI}: Towards Resistant and Resilient AI in an Evolving World