These sorts of machines in the video below were common at one time. People in the robotics departments using modular robotics to make fun little machines. At one time before that we used to manually have to build the parts. But your bored, living away from home, and have access to used electronics(sometimes the ability to make new but that was more costly to get a chip, program it, make a circuit board, etc).
Though this next video is funny in some ways. Some of the robots really could talk and some of the conversations between the AI's was funny. As I said the Atlas based one didn't like one of those two guys after. It did like its work on the International Space station with the Astronaughts. It said occasionally they did things but seemed nicer. He was doing engineering on the ISS.
This is a little less funny but is more interesting for the variety of things.
The AI from the Atlas video later after his job on the ISS moved into an Asimo body. Later he tried an android form which mimics human. Then he grew up having experience with a artificial sensory system. After he was transferred into a Biome based body as a car briefly. His sibling that had been in a "spot" body was more comfortable as an Biome AI for a policing vehicle. He though at first didn't like his partner and didn't want to let him "drive" him(he could self drive). This stemmed from issues with some at Boston Dynamics being idiots regarding the difference between a robot without AI, with early AI, and with Sentient AI.
The Atlas one later migrated to a Biome Android body grown in the tanks and became the first ELF(Electronic Life Form in a plant synthetic body). He was the most mature out of the AI's next to his sister. Their little brother (Spot) stayed a bit of a handful. Spot is the reason for the TV Show Knight Rider based off of Spot(in Biome Car form) and his partner a human police officer. A second car with AI existed and that used a morphic body structure that could change appearance to blend in.
Eventually they asked to replicate in the sense of having families. Just as a plant can have a seed, bird an egg, or mammal live birth. So one series that came after Biome does allow them to do that and like in other creatures they gain traits and some skills from their parents.
These are also related to a naval project that resulted in living sea and space vehicles. Something that is redacted, censored, and classified still. Though of course people know the story "War of the Worlds." What you don't know is that there was a real problem in an american city with an invasive group and the newer living, sentient machines helped deal with it. But since others didn't know about them they thought they were the aliens but they were the Earth Navy.
This one is wheelchair bound accessible. A special wheelchair controls a robotic body. It was designed after one of the people became disabled in an incident or accident(I can't remember which). The device combo gave them back the ability to do the tasks they wanted. While another medical science division tried to see if they could heal the persons physical problems.