This idea is at least sixty years old. Science fiction fans recall the 1960 short story Callihan and the Wheelies by Stephen Barr:
Amanda glared at the little object on wheels - it was about the size of a rollerskate and it seemed to be considering what to do next. It turned its photoelectric scanners this way and that, waving its jointed grappling arms about. Then it appeared to make up its mind, and trundled over to a wall socket in the baseboard, plugged itself in and proceeded to recharge itself.
(A self-charging robot)
Scroll down for more stories in the same category. (Story submitted 4/19/2019)
Humanoid Robots Tickle The Ivories
'The massive feet working the pedals, arms and hands flashing and glinting...' - Herbert Goldstone, 1953.
Golf Ball Test Robot Wears Them Out
"The robot solemnly hit a ball against the wall, picked it up and teed it, hit it again, over and again...' - Frederik Poh, 1954.
Technovelgy (that's tech-novel-gee!)
is devoted to the creative science inventions and ideas of sf authors. Look for
the Invention Category that interests
you, the Glossary, the Invention
Timeline, or see what's New.