Recursive tree processes and the mean-field limit of stochastic flows