Mega Man was heavily inspired by the old school anime character Astro Boy. Capcom once had the license for Astro but lost it, so they created their own version. At the end of the first Mega Man game, you'll see young Astro's cameo.

Astro Boy's cameo: