For high impact journals, it may be possible to find enough volunteer editors who are willing to accept compensation solely in the form of a line of their CV. Less prestigious journals need to provide additional incentives to editors, and cash has a proven track record of motivating people.
Perhaps academic publishers collect to much rent from their pseudo-monopolies on specific publishing niches, but it is difficult to escape the basic economics of publishing.