Americans are increasingly tapping their 401(k) accounts not just for long-term retirement, but as emergency funds in the face of financial strain.