Preventive maintenance is the key.
I have my cart bumper to bumper serviced once a year in the spring around $100 each
I change my oil twice a year my 2 carts are 2005 2004 run like the day they were new
Clutches are expected to wear our it's about $350 every and about 5 years.

I feel the only reason to retire a gas golf cart is that you'll want a new one with proper maintenance it will last a very long time.