There was never any reason for them to get a percentage of the sale. A fixed fee or an hourly fee is much fairer.
The realtors used to basically have a monopoly with the MLS system, for sale by owner didn’t work that well by basically only having newspapers to list, but with sites like Zillow there are now other listing options about equal to the MLS.