The whole point of tank, as the word suggests, is to be able to survive enemy fire.
With proliferation of easy to carry weapons that can pierce any tank it is largely relegated to being heavy, costly and fragile mobile cannon that needs a lot of support to stay alive. There are much better devices that can fill those roles.
You should no longer assume that you can ambush anything with your tanks -- with live overhead feed it is easy to spot any tanks encroaching on your position and place any antitank in the right spot.
And then you have drones that you can basically point and shoot any tank from.
I am pretty sure this is the last war where we see large number of tanks involved. Every country that is watching this is click spamming to buy as many drones as possible.