Nothing is truly free. You're paying for it in one way or another.
To simplify though, services and goods aren't priced purely according to what they cost to produce. You're thinking "the cost of production is the same, but a source of secondary profit is gone, so they have to raise the price of domains to compensate".
But actually the price also depends on what people are willing to pay. And that hasn't changed.