The only place I would drive a golf cart is on the golf course.
I haven't read the details of this incident but maybe this happened at a country club? If so, not sure why they were driving a golf cart. They should have gotten in a limousine or a corvette instead.
Apparently it happened in or near a coastal resort. They were driving a gussied up small electric vehicle at night on or around the property. Low power, slow speed but with automobile type lighting is my understanding.
The best solution is cart vehicle lanes where cars are also driving but that get’s expensive.