You're right. The first rear-ending may have been unavoidable. However, you can see from the rear surveillance camera that subsequent vehicles could have stopped if everyone agreed to keep larger following distances. As mentioned elsewhere in the thread, there is the game-theoretical issue of other drivers cutting in when large gaps form so it would take some coordination on a technology / policy / cultural level to resolve the issue.