One of the things Susan Simard proved was that deep rooted trees that had found subterranean water continue pulling that water at full speed at night when transpiration is low, and that water finds its way into the fungal networks in the soil and into nearby plants.
Simard attributes intention to this, but osmosis is “fair”. It seeks to move water to where sugars are and sugars to where water is. So a plant giving up sugars will receive water, and one low on water will give up sugars in the process of equalization.
Do fungi contain pumps to maintain disequilibrium in this work? I could not say. But even when they first learned the trick of tapping roots the basic premise would have worked in a rudimentary fashion woth no further optimization.
I don't understand how osmosis enters into this? Capillary action is sufficient to explain water traveling up the roots to a point where it was removed. Evaporation from leaves is sufficient to explain removal during the day. You'd need some other explanation for extraction by fungi or etc at night.
As a largely unrelated aside, there will still be a chemical potential across a membrane that doesn't permit a solute to cross. So water can diffuse into a concentrated solution without the solute flowing backwards into the reservoir. Alternatively, small solutes can leave while larger solutes are retained. This is the basis of dialysis.