Tanks have to be used correctly and in coordination with other services. Tanks need to mass quickly on a location that is not expecting to be the point of attack. The artillery prep must be effective. The attack aviation must be effective. The infantry support and infantry fighting vehicles must move in concert with the armor.
Without tanks, moving against strong enemy positions becomes more problematic. Tanks can be taken out with missiles and mines. Infantrymen can be taken out with shrapnel, snipers, mines, machine guns, automatic grenade launchers, and a whole laundry list of weapons.
Anti-drone drones may also limit the dominance of drones.
I was thinking more large scale. Programmable unmanned drones for about $1,000 each (the government couldn’t build at this cost, but a smart businessman could). Army’s newest tank cost $6,000,000 each. That would be 6,000 drones per one tank cost.
You could send thousands of drones across enemy lines or at ships. Programmable drones don’t need to receive instructions individually. I seen amazing drone light shows with a hundred drones, adapt the technology to drone wars and it is scary.