Right, but those costs are paid by the university and/or the taxpayer (in the case of publicly funded research) - they are not paid by the publishers. The latter effectively treat academics as free labour from which they can profit.
You are not paid by the publisher though, which I think is important. Peer review is essential for publishing, and yet the cost of it is shifted to the universities (and other publicly funded institutions). From the point of view of the publisher it's free labour