Solar and wind are not "unreliable" any more so than any other power source we've used in the past. Just like transformers have been replaced by power electronics in many applications, the reliance on flywheels for frequency stability will be replaced by grid-forming power electronics. There isn't anything magical about this technology.