Tesla deliberately hobbled themselves early in the game by deciding they were going to do everything with visual processing alone (which I think was an Elon edict rather than a decision made by somebody with any technical knowledge)
Mark Rober did a video on this. So, expect him to get deported sometime this week...
I wonder if Tesla had to do something special to solve the lights problem or if it's just a side-benefit of the cameras they use and/or where they are mounted. E.g. if the lights were mounted at ground level would that have confused the cameras?
Edit: page break quote fix