For Vietnam and Afghanistan...both wars had a big problem:
a) the enemy forces couldn't be identified (a non combatant at day is fighting at night)
b) the retreat areas (The USA was bombing Cambodia because of that, but couldn't do anything about China. For Afghanistan it was mostly Pakistan)
c) the environment (jungle and mountains are a good hiding place).
And in both places tanks were also not very useful.
And no, helis maybe a problem for tanks, but what about drones? Much cheaper, no casualties for the own forces and faster.
Forget about the historical battlefields. Large armies, tanks, battleships all of them are slow and easy targets.
A modern tank has a range from under 400km (600km with extra fuel) on streets!. Now this stealth takes a large gulp from the fuel....