The photo shows the weak spot that was designed into diesels so that the cab would stay more intact in collisions -- the body and frame fold up behind the cab.
Yes, indeed, the cab looks "survivable" if the crew were securely restrained. Had the impact been absorbed by the front, the cab, the result would have been grim.