JRPGs were made to simulate actual roleplaying games. Basic attacks are supposed to be the specialty of Fighter-type classes that are primarily concerned with gear and equipment with very few combat maneuvers since they had no MP bar (and no TP bar till much later). Playing a fighter in early D&D for example was literally just about gaining more attacks, more health, better armor and bigger swords. They had no special abilities whatsoever.
Moden JRPGs use basic attacks as a gap filler for when people can't figure out the sequence the battle was designed for, as an extra attack option for when MP is low, as a brute force method for games where item and level farming can overpower the encounter, or as a way of mindlessly clearing trash mobs. Mindless trash clearing has three benefits: the brain isn't too fried by the time the boss shows up, your MP bar isn't too low by the end of the dungeon, and the player can focus more on observing what the enemy is doing to learn new mechanics. One of my favorites games for the story elements is the Trails in the Sky series and with sufficiently leveled characters and decent items you could clear almost every encounter with nothing but well positioned basic attacks to preserve SP/CP for the boss fight. A lot of the rare encounters or bosses were also clearable on lower difficulties just using Auto Attack + Healing with no special skills. If you wanted to use a weird non-optimal team, you could still beat the game on an easy difficulty just using Potions and Auto Attacks without any intelligence required. Different difficulties exist to appeal to different types of players and story-focused ones may even select the easiest just so they can Autobattle their way through the boring tactics part and move on with the story. Having an actual Autobattle feature means they don't have to hammer the Attack and Potions buttons so they could sit back and watch the fight play out as though it were a visual novel or cinematic film.
So there's lots of reasons to have basic attacks depending on which audiences you'd like to include. If you're only concerned with the most hardcore of strategists then chuck that button to the wayside! But please, if you do, don't require any grinding of any sort and include a game way to disable mob encounters. One of the reasons I love D&D is that every monster encounter requires brains to survive and the wrong sort of planning or moves can spell death for a party against a lowly minion. One of the downsides of this approach is that the ACTUAL boss fights are identical just way harder and seemingly unfair.