Humm-Vees, Bradley's and other infantry mobility vehicles with mounted guns for fire support have very much stepped into the tactical role.
The roles of a "cavalry" unit are reconnaissance/scouting, raiding, pursuit. Whether they're on horseback or mounted in M2/M3s doesn't matter. Today the cavalry role still persists in most large militaries because the fog of war requires it.
I just realized you're not the guy who said "it doesn’t mean the old ones are obsolete", so probably moot
Hordes of cheap naval drones is what Ukraine had the ability to produce. And long before the current conflict started, Russia's navy was well-known for having very serious maintenance, performance, and survivability issues. They would have proven similarly vulnerable to a very wide variety of weapons.