"almost hitting pedestrian" It wasn't even close. Look at where the ped is at 12 seconds, compared to the car. It's because he stopped the turn, and straightened the vehicle that the pedestrian stopped and looked up with concern (at 13 seconds). Even if the pedestrian broke out into a full run, they wouldn't have been in any real danger. This sort of close interplay between pedestrians and cars is very common in citi…
EDIT - other people are pointing out the "no right turn" sign but I believe that's for cars to the left of the elevated tracks. The sign hanging by the traffic lights indicates the crossing road is one-way to the right, so that turn should be legal from where the Tesla is.
But it isn't planning a turn here so I don't think you can say "it would've made a tight turn and cleared the pedestrians." It looks like it has no idea where it's going and could have wanted to make a wide turn into the left lane, or even be swerving far out of its lane and then back in because it interpreted the intersection as something like a lane shift.