Realtors are experts in the market. A good realtor pays for themselves by getting you the best selling price or finding the best home for your price range. If you don't understand opportunity cost, then obviously it appears to be a ripoff. But once you understand, it's clear that realtors have value. And realtors are probably going to be the last to be replaced with AI. It's all about value judgement and AI is garbage at judgement.
Also, it's true this article isn't recognizing the root cause, overpriced housing, because realtors in general do better when prices are high. But "realtors in general" is a very different category than "your realtor".