Chinese 'south-pointing' chariot, c 2700-1100 BC.

Many ingenious mechanisms are devised with no “practical” purpose in mind. They are examples of invention for the sheer fun of it. This phenomenon occurred early in many cultures.