Sadly, vehicle sections in WoW are rare because apparently players bitched about not being able to control their own character. It also doesn't help that vehicle sections are often associated with "playing as another POV character" quests like Illidan, Arthas, that Arrakoa in WoD, etc, but WoW's mediocre presentation of its story via tiny walls of quest text has inoculated many players against the story and thus against that experience.
TWW has a couple quests that combined the new dragonflying mechanics/control scheme with you fighting a giant mech. Pressing spacebar launches a volley of magick missiles, pressing another button to barrel roll grants you a shield. There is another quest where you can use any mount you want and fly through light glyphs in the sky to temporarily acquire light magick missiles that will then fire forwards if you press a button (IIRC spacebar to ascend), which you use to blow up hanging mines to clear space for an airship.
In
Trails of Cold Steel, the protagonist (and later, his apprentices) acquire magitek mechs called Soldats, to which their martial swordsmanship training is applicable. The mechs are only used during certain story fights when necessary (no repeatable battles) and when appropriate (ie, the heroes are fighting a large monster or an enemy mech and it would be preposterous to fight on foot. And their mech is nearby and not chained up or out of power). The mechs used a slightly different battle system where there is no positioning, and you can target three different areas of the mech (head, arms, body). The mechs change stances so their weak part changes in the different stances. The mechs can also cast spells in combat.
In
Xenoblade Chronicles X, you start the game out on foot but can later acquire mechs for you and your party to use to fight against huge enemies like the brachiosaurs.
In
Sakura Wars, the heroes pilot magitek mechs called Spirit Armors to fight against demons. The combat gameplay exclusively uses the mechs, with no on foot combat sections, though the heroes sometimes fight on foot in the VN segments or in the animes.
In
Valkyria Chronicles 1 & 4 (developed by the same team that made Sakura Wars), the protagonist squad captain and at least one other character drive tanks or armored cars. They have tank controls and cannot spin on a dime.
In
ARMA 1, the singleplayer campaign has you alternate POVs between different characters. In one mission, you are playing an infantry squad captain, ordering people into trucks and escorting convoys along the highways. In another mission, you are playing as a couple saboteurs running around the woods in the back line, shooting drivers to steal their cars in the dead of night, etc. One of the POVs has you play as a tank squad captain. I thought it was very immersive to order your driver and the other tanks in your unit to move around while you are peering out into the world via your periscope or viewing window.