Tesla has lidar equipped vehicles that presumably provide training data for depth perception as you're describing. Although given the rarity of the sightings probably just one or two.
They are going to be in a great position when this all shakes out.