Solar inverters can produce/absorb reactive power easily - but while that can frequently be configured from the control panel of individual units, rarely is that ability exposed to grid operators.
Inverters at DC undersea links can do the same. As can some kinds of wind turbine.
All three can also absorb harmonic power and emit it as fundamental frequency power.
Battery energy storage systems can also do all of that, plus also provide 'simulated spinning reserve', and also provide brief huge increases in energy output to deal with various collapse conditions.
Wind can also do this (with caveats).
However, despite lots of 'green' energy sources having the necessary abilities, it frequently is lacking software support, particularly in the 'control plane'. Part of that is because there is no legal mandate to have these abilities, and there is (in most markets) no payment for providing this service. Therefore operators don't bother to enable these features.