The problem with this is there's only three possible solutions here:
1. Give martials more fanciful and mythic capabilities so they and casters don't look so far apart.
2. Weaken casters so their strengths don't stand out as much with more mundane martials.
(Caveat: you can combine the two to some extent by pushing the two closer to each other. I'd argue that's what Pathfinder 2e has done).
3. Accept that martials are simply weaker than casters, not only in versatility but probably in outright punch, at the price of martial players who care having to just suck it up.
There doesn't seem to be a fourth option, and #2 tends to get pretty strong pushback. So here we are.