This is Blaine Manyluk's "Brain Train", which runs itself using a pair of Mindstorms controllers. One runs the pneumatic pump and the turnouts for the two sidings. The second, on the train itself, runs the train. All activity is random.
Video
Brain Train | Pump |