Y2K would have been pretty bad if we had done nothing. With years of prep and work, the risk was mitigated away to minimal impact.
What are we doing to mitigate THIS risk???
Building a wall.
We are doing the same mitigation for massive solar flare as we are doing for an ELE meteor strike or the eruption of the Yellowstone super-volcano. Some things cannot be prevented or mitigated, they just are and we have to deal with the consequences afterward.