It's awesome and would have taken a heap of work to make it but it's actually far simpler than it looks
The big wheel has pins that open small gates that drop balls and they fall on the noise maker underneath. He's actually fretting the bass with his left hand.
The bulk of the machine is lots of fancy hoppers and carriers to lift the balls back up.
This is machine that actually plays the instruments.