Robots have a long history in children's books. One of the earliest robots to appear was Tik-Tok in L. Frank Baum's Oz books, first in Ozma of Oz (1907) and then in Tik-Tok of Oz (1914) [both J BAU]. Back in those days, the word "robot" hadn't yet been used to describe mechanical beings.
Kids have always enjoyed books about robots and we have a number of them in our collection including the "Tik-Tok" books and these:
Barnett, Mac. Oh No! Or, How My Science Project Destroyed the World. [JP BAR]
Catalanotto, Peter. Monkey and Robot. [J CAT]
Dyckman, Ame. Boy + Bot. [JP DYC]
Patterson, James. House of Robots. [J PAT, also J AB/CD PAT]
Pilkey, Dav. Ricky Ricotta's Mighty Robot: The First Adventure Novel. And others in the "Robot Adventure" series. [J PIL]
Varon, Sara. Robot Dreams. [J CX VAR]
Ziefert, Harriet. If I Had a Robot Dog. [E ZIE]
There are plenty more, including the perennial favorite "Transformers," enlightening nonfiction, and animated films like Robots [J DVD ROB].