Have they? As far as I can tell there are now vastly more craft coffee shops than there ever were.
Indeed; for example the recent arrival and success of Starbucks in Italy was in some ways possible because of the pre-existing growth of 'craft'-type coffee shops which had expanded the idea of coffee, and of a coffee shop, beyond the traditional 'bar'.
Per my experience, there used to be a ton (~90s), then Starbucks took off and killed a lot of them (00-10s), and now they seem to be coming back as people avoid Starbucks (20s). But imagine that's subject to regional variance.
And in the process they've wiped out most independent coffee shops.