Thats funny, the Russians used tanks very effectively in the Ukraine this year, and the Ukrainians have modern ATGM’s, or modern enough.
And the same was said about tanks going back to the 1960’s - ATGM’s aren’t new. The ATGM’s back then could penetrate any tank in existence.
There are countermeasures against anything. And there are tactics to minimize any threat.
The Ukrainians also have their own decent armored units and a decent Air Force but they never went all in to stop the Russians. Just because they have the weapons to stop smaller movements by Russia doesn’t mean they have the will to use them which would result in a larger response from the Russians that they likely couldn’t stop. ATGMS today are not your father ATGMs. Tanks are likely to go the way of piloted aircraft but that’s another argument and another day...