Taking into account that they don't really do peer-review and don't pay for it either, and that their editing is close to nonexistent (and as likely to introduce errors as to improve anything), all the other costs seem to be a self-perpetuating loop - the work is being done just to support itself, with no actual surplus value being produced. It's a resource leak, a circular reference in the economy.
It's not meaningless, either. If you have a hundred venues for publication - what should you choose to follow? What should a library subscribe to? What do you recommend to students? etc.
I am also a big fan of open-access and hate paywalls myself. I also don't like big, for profit, predatory journals. There is value in curated and managed journals. Just not the value that these big corporations are reaping from them.
Because publishing a decent journal - even online but certainly in the real world - involves a whole lot of work: Administrative, some technical, some networking, some advertizing, maintaining relations within the relevant fields etc. That's all when we ignore the peer review itself which requires domain expertise.