After seeing this I wonder if designing independent racks makes sense anymore. Sizes of the pallets must be quite standard for the specific applications.
In a way, they were lucky. The second rack collapsed toward the first. The domino effect can be much worse than that. A series of parallel racks with narrow aisles between them can all collapse in the same direction collapsing every rack, one after the other.