Tanks seem kind of silly to me. If they’re limited to the ground, you can phaser the ground below them and dunk them into the mantle. If they can fly, why not make them shuttles capable of ground, air, space, and underwater combat?
Making them strong enough to take down orbiting starships seems a bit much to me. Russia alone has 20,000 tanks. That’s one country. And they use them for ground warfare, not as anti-aircraft guns.
If you’re making ground-based weapons anti-starship...I dunno...you’re not too away far from something like Starkiller Base shooting death-rays through subspace at enemy planets.
I can't imagine a Trek combat vehicle being truly ground only, even if it's running off batteries instead of fusion or antimatter, so they would be using shuttle tech geared specifically to excellent flying nearly against a surface. Who want's to get stuck in mud or have a broken tire.
Modern tanks have fire control systems capable of directing their main gun to shoot down helicopters, at least German and American ones do.
That's an enormous leap to compare a planet size gun to something I imagine as being a few runabouts in volume.
So do you think StarFleet would make more Hybrid Ground Vehicles, or more single type platforms?
Hybrid function can come two different ways, cost saving or abundance of capability. We're at a point where capability is so abundant that it doesn't make sense to leave a feature out, and every fighter at this point even the F-22 has ground attack capability. There are better aircraft for ground attack, but it can do it despite being for air superiority, and the ground attack fighters can still mount anti-air missiles. That's the way I would expect Trek to go unless there is a distinct advantage in leaving functions out, because cost is going to be considered in a completely different way than today.
So if you want a troop carrier and an infantry fighting vehicle you can make them the same vehicle without trade off except being size. It could probably scout as well as anything else too. But if you needed something for casualties, you need a purpose built interior for all the medical equipment. And if you want a torpedo launcher, that's going to take a lot of internal space so will likely need a different platform, unless you are using a mini-torpedo launcher.
The only thing I imagine ground vehicles in Trek lacking are warp engines, at least full fledged warp engines. They add a lot of weight and likely specialty engineering other power and propulsion systems don't have to worry about. Though I had warp engines put on my tank concept for warp just above warp 1.
Considering Tom Paris had his own "Walkie Talkie" sized one in a Alternate Timeline in ST:VOY.
It was in ST:NEM that there was a Tiny ComBadge sized one for OneWay Emergency Transporter use.
But Transporter Ranges for Personal Site to Site Transport should still be incredibly short compared to a full blown Transporter Pad on a StarShip.
Even if you can only go a few miles per beaming it would be extremely useful. Even with my minimalist vision for Federation infantry includes them due to how compact the tech is.
Also, even if TAS weren't canon, Lower Decks canonizes it, so a Federation infantry would definitely have some sort of shield too.