When I was a kid, my local kids' museum (Mid-America Museum in Hot Springs Arkansas) had a giant mechanical Lego computer that could play Tic Tac Toe.
Unfortunately, the thing had so many moving parts and was so unruly that I never got to see it actually working. It was almost always out of order and eventually was retired.