Sunkern can actually learn moves. Magikarp learns Splash, the iconic useless move, plus things like Tackle, similarly weak moves. While it does also get Hydro Pump and Bounce, those were given to it in later generations. By that time, Magikarp's status as the weakest Pokemon was well established.
Hope I helped!