Not only are there lanes to bypass traffic, almost more important is that the traffic lights are controlled to prioritize the busses. Thus if a bus comes the traffic lights turn and hold green so that the cars in front of the bus can clear the crossing for the bus.
And there are dense schedules, so that if one bus is delayed to some problem the next one is close by, thus gap is little.