The Waymo didn't have the stop sign, the other driver did, at a three way intersection.
The other driver decided to suddenly enter the intersection, when the Waymo was like 5-10 meters away. This was after having stopped at the stop sign.
Either they weren't looking or intentionally trying to cause an accident. Swerving prevented the Waymo from crashing at 40 km/h into the driver's door.
Also, in the case of someone running a stop sign, it is far from a sure bet they are going to hit their brakes at all, so by swerving you increase the odds that you will still hit them, but now it will be while you have exhausted all your adhesion on lateral control. So now instead of a front end collision with all the benefits of airbags and crumple zones, you are at a significant risk of rolling the car or spinning off the road and hitting something immovable with a part of your car lacking crumple zones.
The key difference between braking and accelerating is that in the former case, independent, potentially differentially worn brakes, apply force unevenly, making the chance of a loss of traction on one or more wheels higher. With acceleration, that force is applied through a differential, meaning it will be far more likely to be appropriately distributed.
If you want to decelerate while swerving it can be done, but it should be done through engine braking - and the tricky bit there is matching revs as you drop the clutch back in, otherwise you have too much retarding force and overcome the coefficient of friction, resulting in a skid.
Easier for those of us who grew up with double de-clutching and no synchromeshes, but when you’re in a critical situation, it’s still an awful lot easier to apply acceleration.
Nobody killed, according to the news, but several taken to hospital in critical condition.
Oh, I say unscathed but our tyre exploded the next day, as apparently we caught a fragment, and again, that’s not a “slam on the brakes” moment, but rather “trundle to a stop on the shoulder and walk to the conveniently nearby tyre shop”.
So, the correct advice is to say "brake, don't swerve", so that drivers internalize that their first thought and reaction in any emergency should be to brake. Teach them to actually brake—fully press on the pedal—while you're at it.
A slightly more nuanced advice would be "brake first, swerve as needed as a follow-up".
But I would never in good conscience be able to give anyone advice to swerve instead of braking.
Even if you're not a panicky human but a optimally regulated control system?
I'd like to introduce you to what autonomous cars were already able to do in 2018: https://www.youtube.com/watch?v=khX0UCqcR3M