That allows Zillow, Redfin etc. to offer listings free. If they had to carry the weight of all the expenses themselves, it's likely that access to listings would be far more restricted, and/or much less comprehensive.
MLSes are bound by an antitrust lawsuit (that they lost) to provide access to online services like Zillow. I would assume that there is an appropriate payment involved, just like with the MLS's other clients.
I think you're overestimating the costs of running a listing service like this -- there are several hundred companies in the US doing it! -- and underestimating how prone this industry is to inflating costs by illegal anti-competitive practices.
https://en.wikipedia.org/wiki/National_Association_of_Realto...
If alternate MLS's are easy and cheap to set up and run, and they can provide a much more attractive value proposition than NAR-aligned MLS's, wouldn't the NAR MLS's have been pushed out of existence long ago?
Actually running an MLS is simple.
They pay the MLS maintainers.
If the MLS didn't exist and we relied on private corporate sources of information, then it's likely the experience would be like in France: many competing listing services, none comprehensive.