I once got to open up just such a device that was made in the late 80's. It was an impressively designed machine using state of the art for the time.
It had NiCad batteries, artificial muscles to raise/lower the pins for touch, a driver each for like 50 muscles, all done on PCB, etc.
I'm sure they already sell much more advanced ones already today.