I'm a bit weirded out by how judgmental people get about this.
Cafes that wanted to ban laptops are free to do so and always have been. Generally people who work on laptops come in during periods when the cafe would otherwise be fairly empty (10-5 weekdays). This is an additional source of revenue to the cafe that doesn't interfere with their core revenue streams - the morning takeaway coffee rush + weekend brunchers.
A local cafe near me bans laptops on weekends. Another one bans laptops on weekends unless you sit in a particular area. Another one has a special laptop area. These are all successful cafes.
I have a feeling that the cafes who prohibit laptops outright are mostly just canceling a stream of revenue. That's certainly their right, but it's probably not what is best for them.