Before modern Starbucks popularized a hostile environment, it was common to work for half a day in a coffee shop.
They tended to be a lot bigger, have more and more comfortable furniture, and were fine if you quietly worked away and bought a coffee / snack every now and then.
But Starbucks ~05 to now is basically a microcosm of the ways America went awry.
It was always unfair to expect a coffee shop to operate an office for the price of the profit margin on 3 coffees, a sandwich and a muffin.
sad.
someone should write a well researched book with that title: the ways America went awry.
If you want to build something and have it stay good, never expose it to the harsh light of economic min/maxing.
Not every business has to cater to everyone's preference. I suspect that they started shooing people because they found (or at least suspected) that kicking out your customers made them more money. The laptop people will just find somewhere else to get their coffee.
The best coffee shops I been to have multiple spaces set aside for people with different needs, including busy main areas and out of the way quiet areas, a mix of small and long tables plus chairs and couches, books/board games/pool tables available, conference/gaming rooms, etc.
I've seen coffee shops like that get so popular that they required a cover charge on Friday nights and weekends. You're not likely to find those kinds of spaces on every other street corner like a Starbucks but the versatility is really nice.
Bars, dancing halls, rec centers and cafes makes more sense in the walking distance rather then somewhere where you go by car.