There are about 4 options to avoid the accident in that video and there is a difficult time believing that a computer would have a difficult decision choosing one based on the circumstance?
Look...in the current version of AP the car chooses when to change lanes if you simply engage the turn signal while AP is on.
There is absolutely no way it would be difficult at all to program a computer to avoid an accident by changing lanes as an option. Not in 2018,
So first- it sure CAN be programmed to do that- but right now it doesn't. And the changing it does do with turn signal is very conservative and passive (Elon himself noted this, and showed the "mad max" mode the Semi has in beta testing to make it more aggressive)- you don't really want passive/conservative lane changes if trying to quickly avoid an accident.
Second- the programming is a bit more complex than you suggest- What if there's a bicycle in the other lane? Do you wreck two cars or hit a bicycle? What if it's a dog instead? What if the accident is about to be caused because a truck up ahead dumped a bunch of stuff onto the road, so changing lanes might provoke a worse accident?
If all those choices were easy EAP would already do auto lane change (which is an announced feature of the product that it doesn't currently do)
A computer can annihilate ANY human playing chess ( calculate 100k million moves per second)
Sure- but that's after decades of software development. EAP has existed for what, 4 years? and the current system (AP2 and above) for only 2).
And chess has a fixed amount of spaces and pieces and board positions (a very high # of them mind you- but all known items). There's never a case where a chess computer has to recognize, understand, and react, to say a truck dumping a load of a bunch of random objects all over the board that are moving in unpredictable ways, surrounded by OTHER DRIVERS who may also behave unpredictably... So the analogy is...not great.
But back to the original point of the guy you were replying to- AP can't change lanes automatically to avoid accidents because the current software doesn't have that feature.
And we know that feature isn't ready to be deployed because if it was, it would be.
It's entirely possible it WILL be ready at some point (it would have to be for FSD at least) but today is not that day.