But we've seen infantry effectively using shotguns in Ukraine as a defensive weapon against drones for the same reason hunters use shotguns to shoot birds on the wing, within your weapon's range the odds of a disabling hit are pretty high if you're trained.
So not sure why it has to be either a rifle bullet _or_ a massively overengineered defense contractor's very expensive super-duper-shotgun round.
Haha, wait, it's flak guns again, just redone for the 21st century. Ah bless.
If the choice is restricted by stand-off range, that is a different kettle of fish, maybe do bring back the, once considered entirely obsoleted by high altitude aircraft and missiles flak.
But in the here and now, regular shotguns are being used defensively, with a certain level of success, by infantry against drones in Ukraine.