Plastic, battery-operated toy robot Stegosaurus and Tyrannosaurus toys from Manley, Los Angeles (made in China during the 2000s).
Mechanical dinosaurs have long been popular in comic books, as in these examples — one from 1955, with robots made to appear as live animals, the other from 1966, showing a completely robotic look.