In Copenhagen or Amsterdam that's just the case. (Not literally every road, they don't have bike lanes in residential areas, but almost every major road with significant traffic has a bike lane in these cities.)
Not just Amsterdam, the whole of the Netherlands is like that. But more than that, there is the cultural aspect that cyclists and pedestrians are the number 1 priority on the road, then cars. None of these fancy hi-tech solutions work if the drivers don't care, and the laws don't protect cyclists.