In Melbourne, quite often there are 4 lane roads (2 lanes in each direction) with tramlines in the inner two lanes going in each direction. At the tram stops, passengers need to walk across the outer lane to get to/from the sidewalk, so cars need to stop behind the tram even if they are in the outer lane and not directly behind the tram so that they can make way for passengers.
Having moved here from Sydney a few years ago, where there are no trams in this configuration, this took a lot of getting used to, since if I was in the outer lane my natural instinct was to keep driving as the road ahead seems clear at first.
I'm not sure how common this is globally, but I wonder if Tesla's autopilot is configured for this edge case? I imagine it would be difficult to program since it would detect the tram as simply another vehicle and the road ahead as clear? Then again, I suppose it should have detected the pedestrian in any case?