Golf carts aren't held to the rigorous crash safety standards of passenger cars for obvious reasons–they're usually driven at low speeds in a controlled environment, usually far away from public roads ...
Golf carts are like cars, but not really. They have four wheels and controls like a regular automobile, but the similarities end there. They are not beholden to any sort of crash testing, for instance ...