Mindstorms has a long compelling history before LEGO, that includes cybernetics, the Logo programming language, turtle graphics, Braitenberg vehicles, and the rise of the MIT Media Lab.
See the book "Mindstorms: Children, Computers, And Powerful Ideas" by Seymour Papert. Free from MIT.