Most cities, and whole countries!, already have this! And they had this for a long time. It is just mostly overlooked by "car people" because these are driving on rails or streets with rails, instead of plain steets.
Maybe it is also overlooked because it is named "train", "metro" or "tram" instead of "bus". But a tram is really just like bus: It drives a predefined route multiple time per hour (or per day, or per week). You just need better streets for it (namely: streets with rails). But that's, again, mostly a one-time investment. It means building the energy infrastructure directly into the street.
Rails do have some disadvantages, and not all countries have a good rails infrastructure, especially not within their cities.
But: The one huge advantage is the energy supply - no huge batteries and no charging times. This is why this technology is so old and has alredy worked perfectly decades ago, before modern battery technologies were developed.