Yes, if it is sunny or windy, they can be scaled in minutes, but only if conditions are met. The inverse is true for nuclear/coal - they cannot be scaled up & down in minutes.
So this is a complicated subject in itself, and a full answer won't fit inside this textbox. Some bullet points:
- Grid stability is maintained by batteries, but not literally. The "batteries" in question are typically rotating generators, i.e. turbines, wind, literally anything where you have an electrical coupling to a lot of physical inertia. That's what keeps the grid running second-to-second; while a power plant might pretend it's outputting a constant 4MW, it actually shifts noticeably from moment to moment. The kinetic energy of the generator helps balance that out.
- Going up from the sub-second range, an overload of the generator obviously would cause the shaft to slow down, dropping the frequency and causing brownouts. Brownouts are bad and can damage the grid, so typically breakers will disconnect if it falls below 49Hz; a 2% drop.
- Baseload plants can't cope with this, as they take multiple minutes to spool up. Minimum; for something like a coal power plant, where you have to shove in additional coal and wait for it to catch fire, it's going quite a few minutes. This is what defines 'baseload'.
- Peaker power plants can increase (or decrease) their mechanical power production in a matter of seconds. These days that typically means gas turbines, though hydroelectric power is even better, and nuclear power could be used for peaker plants -- but isn't; most nuclear reactor designs outside of the navy is a baseload design. France does have some load-following designs, and we need more of those.
- Wind turbines can't increase their output, flat out, but they can decrease it (by feathering, or by using brakes). This is good enough, except this would turn them into 'peaker plants' that can't help with peaks. If we had enough wind turbines to cover 100% of the load then we'd technically be fine, but economically speaking that doesn't work; they'd be at less than 10% power most of the time.
- Wind turbines have rotating shafts, but a lot of the time they produce DC power, linked through inverters, which removes that benefit and makes them act like solar panels in effect. However, this is a purely economic issue; they can trivially be upgraded to support grid stability if the pricing scheme will pay for it.
- Solar panels are worse: They have no inertia! There is no rotating shaft there to cover sub-second usage spikes. That's where complaints about 'renewables causing reduction of grid stability' come from, along with issues like domestic solar needing to backfeed power through distribution lines and transformers that aren't necessarily designed for that.
- But batteries can absolutely help. The kinetic energy of a rotating turbine isn't actually that big; it's not that expensive to pair a solar panel with a battery to build a grid-forming system that acts the same way a kinetic power plant would.
Some wind turbines are also internally a hybrid design that can dynamically adjust the frequency difference angle both for minimal losses in production, but also to provide frequency shifting and even artificial demand (i.e. essentially using wind power as brake)
I believe (but I am 0% expert) these are mostly but not exclusively used for adding inertia to the system, rather than real energy storage.