The cost of providing safe heaven for Tank warfare is so huge , that cost don't justifying the service provide by tank to the infantry.Cheap drones sadly aren't the answer to a combined arms brigade even today.
A good trained formation with heavy tanks, IFVs, Engineering Vehicles, Mobile VSHORADS, attack helicopters and CASEVAC systems in place still beats everything. And this is proven from all the wars since 1945 till today.
The failure of deploying such a formation is what leads to losses.
If Israel followed conventional norms, they would have demolished whole of Gaza within 72 hours.
The moment you break up the formation, that is the moment the war becomes attritional.
A combination of Air cover,chopper,indirect fire support & IFV can do the job of tanks effectively.