Axes are generally relegated to villains or the one extremely buff guy in your party who looks like he could break a steel bar with his pinky finger but somehow does less damage than the MC and is slow as balls. If an MC is able to use axes, it is usually a suboptimal choice compared to using a sword or some other more typical hero weapon.
Hammers see almost no representation in RPGs outside of the joke character who uses le funni oversized blunt weapon and you almost never see smaller hammers or mace-type weapons outside of enemy hands.
Jordan Sanchez
Axes are common as fuck Hammers are less common
Owen Diaz
You mean Gigaslash
Ian Nelson
Axes are common, but they often have a much slower attack speed than other weapon options, and in most RPGs you're going to want to crit fish or proc fish with status effects. I can only think of a few games that don't fall victim to this meme, one of which being FF XIV but the axe class gets nerfed and then un-nerffed like every major patch so ¯\_(ツ)_/¯
Spears are boring, every time I try them in games like Dark Souls they suck ass unless they're the kind you can swing (ironic since swinging is a less effective thing to do with a spear even if it has a sword-lengthed blade.