That's a thought - was it a railway running on rails on a steep gradient, or a suspended cableway that was intended?
Either way, at whatever size, control would seem to be a natural for a Raspberry PI or similar and an interface board with appropriate sensors looking at the car, or cars, to achieve automatic running.