Tesla and rivals like Waymo and GM are locked in a battle over the future of self-driving cars

In recent years, the autonomous-vehicle industry has confronted a reality check. The promise of cars that can drive anywhere under a variety of …