If devs thought like you, many games would be more boring for it. Think about the fans of FFX's Blitzball, or even Triple Triad from FFVIII. Freaking Gwent from Witcher 3 was liked enough to get a game focused on it alone. I see so many people joyously learning how to play Caravan in Fallout: New Vegas. Those games would still be good without the minigames, but they'd lose a little something too.
Isn't it interesting that the mini-games you cite would actually stand on their own as their own games? Or, even do stand alone in the case of Gwent?
Make it, it's own game. If it stands on its own... you can leave it in your game. If it doesn't... maaaayyyyyybeeeeee it shouldn't exist. But, that's just my opinion. 😀
But, I do include this caveat for those types of mini-games.
Because "exceptions to rules" and all that jazz. Do note, that an "exception to a rule" does not disprove the rule. Much as people online like to try to make that argument.
I'll ask you since you're passionate about it:
How many mini-games in RPG's (or any game genre in general), do you not play? Spend barely any time with? Absolutely hate? Is that number bigger than the 4 games you've cited where "they were good"?
If "yes", then you're simply advocating for "the super ultra very rare chance" that a minigame is good, and enjoyed, and as beloved as Blitzball and Gwent and Triple Triad. I have no problem if you want to advocate devs take that chance, but I'm like the guy that reminds you about your odds in Vegas. The House Always Wins.
Also, the idea that devs include minigames because they're bored of their own game is, quite frankly, absurd. Sure, maybe there's a few out there that that may apply to, but certainly not all of them. But that's just my two cents.
You can argue "the exception to the rule" if you like, but it doesn't disprove the rule. You can look through the forums here for the years and years it's been happening, if you want proof of it.
Here's the common reasoning:
"My players need a break from my main gameplay, so I put minigames in there". Do they? Been running a lot of playtests have you, and have the data to back that up? No? Then why assume they need a break? The only data you have of "needing a break" is your own at that point, correct? So, why does the dev need a break?
You can look at a lot of the devs who "quit making their game" shortly after designing their mini-games too. Or, even funnier, spend a lot more dev time trying to get their mini-game working instead of refining their actual game to remove bad writing, rough eventing, bugs, and "mash attack to win" combat.
But, if you'd like to look at AAA games...
Like playing Poker in them, do ya? Mahjong? Blackjack? Did Voltorb Flip add anything to Pokemon? Does "betting on the monster", "hitting the bell", and the "mimic the clone" minigames add anything to Chrono Trigger? How about the racing game? That add anything to Chrono Trigger? Does the slide puzzle in Final Fantasy 1 add anything to the game? Chocobo Racing? That add anything? Chocobo "hot and cold"? Add anything? Final Fantasy X "capture and fight" mechanic? That add anything? How about jump rope in Final Fantasy 9? Dodging Lightning? Eating Frogs? Those add anything to those games? Do the hacking mini-games add anything to Mass Effect 1 and 2? How about probing planets in Mass Effect 2? Running away from the Reapers in Mass Effect 3 add anything? Making sandwiches in Pokemon Scarlet/Violet add anything? The "hide and seek" sunflora game? The auction? How about the Scarlet/Violet DLC mini-game thing where you charge around and hit targets? That add anything to the game? How about the "Only Up" portion of Expedition 33? Does that add anything to the game? How about Hacking in Fallout 3, 4, New Vegas, and 76? Lockpicking in those same games? Add anything to the games?
They fun? Wish you could play any of those for extended 3 hour or more sessions?
Or, do you touch them once, get their rewards, and never return?
Some people don't like to admit it, but there are a lot more "bad" examples of mini-games than "good" ones. Even done badly by AAA developers that people love and buy all their games from. Even from franchises they like.
Yes, a mini-game can be done well. It can be amazing.
But, if a parachute you have only has a 1% chance of opening, you gonna put it on?