This is the first thing I learned on barista course (I am not a barista, I got the course as a birthday present because I care a lot about coffee).
As of now there exists no way to get a great coffee without having somebody with taste and knowledge to actually check the coffee, diagnose the problem and then fix it.
A lot of bad coffee should be understood as coffee shops without a feedback loop that would understand that the coffee is bad and how to fix it. The customers certainly are not good enough, they will just not return and you will be none the wiser about why.
I have been to many coffee shops for coffee to observe what looks like a lot of expensive, good quality equipment and then a barista that definitely don't know or don't care about what they are doing. And nobody in sight to spot and fix the problem.
It seems like the owners' idea of the business was to have upscale coffee place for coffee snobs like me but like many people missed the critical lesson of quality control, constant improvement and the importance of hiring people who care. Which for some reason is a lot of businesses where the owners' first goal is to make as much money as possible.