Robot cartoon movies have been a staple of family films for decades, especially since the cartoon format allows for more inventive and imaginative character designs. While many have robots simply as supporting characters, there are also plenty that feature a robot protagonist, either as a helping hand for the story’s hero or even as the hero themselves. The first robot in a movie was in 1927’s Metropolis, which was live-action, but once the animated film industry got in full swing, hand-drawn (and later CGI) robots became a regular sight.
https://screenrant.com/best-animated-movies-robot-protagonists/