- Even conflicts where tanks were obviously useful, like WWII, there were high rates of loss.
- Russian armored groups were poorly trained and not well supported by dismounted infantry early in the war, leading to high losses against fairly mobile Ukrainians armed with ATGMs. Now that the front has solidified, there's less room for maneuver where tanks are more crucial.
- Russia is employing a lot of old equipment and Ukraine doesn't have enough western armored vehicles for it to matter.
Cheap and prolific drones make tanks more vulnerable than before by making them easier to spot and delivering munitions directly, but there's still a need for armored direct fire, especially between two heavily fortified lines. You can't really break a trench line with waves of infantry anymore.
I suspect there's still a niche for helicopters too.