Online banks typically offer much more competitive financial products. I have some HYSA accounts at 4% APY, that’s not achievable with a CU or traditional bank.
The solution is the same solution as any financial risk: diversification. I have many accounts at many banks. If any one of them goes down, I’m fine. If multiple go down, I’m still fine in the interim.
My CU has 6-month CDs at over 4% right now.