It's not free, but it's much cheaper than the cost a normal publisher would spend to get the same exposure.
How? If a publisher was ready to pay X amount of dollars to gain that level of exposure on amazon.com, and Amazon chose to forfeit that revenue, the “cost” to them was exactly X dollars.
How is it cheaper? If Amazon has to decide to promote item A instead of the next Kindle reader or some other product, there’s certainly an opportunity cost. To blanketly state it absolutely costs less is too naive and merely an assumption.