Regular bombs and guns probably still do most of the killing for quite awhile because of inertia, but I'm pretty firmly of the belief that they are outdated technology or will be soon, especially the regular guns part.
Regular bombs are arguably already outdated by missiles with (frequently autonomous) guidance... but for a lot of applications dumb explosives do work pretty well so those probably stick around for a long time.
But certainly lots of ways to make use of autonomy, and I'm no expert on the best way.
In practice, a drone swarm is an area weapon. It's why it's kamikaze and relies on explosives right now. It can say it has the ability to find a specific person using computer vision and maybe it can, but it definitely can't make sure it only kills that one person and it can't kill from a distance.
No flying platform will be replacing snipers any time soon.
That being said, if I was designing a system like this, I'd be aiming for engagement ranges of ~100m to make target acquisition and aiming easier. You can ID something as "person" at 100m with a 4k video stream from a cell phone camera, but you'd need some really complicated optics to do the same at 1km. And at 100m, you can afford to lose quite a bit of accuracy to recoil.
I think you're overstating the difficulty here. There's three things a drone needs to do:
1. Provide a stable/stabilized platform (for sensors and effectors)
2. Respond to recoil in such a way to make the point-of-impact consistent
3. Not fall out of the sky in response to recoil
I think 1 is demonstrated today with drones flying around 4k/8k movie cameras - a lot of that might be the mount, but you could put an AR-15 in that mount too. 2 is presumably easy as well - just make sure that the drone is in the same physical orientation before each shot as in 'training'. 3 is trivially solved - if your drone is robust enough to withstand the recoil, just let the computer autolevel the drone in whatever new location it's found itself in. If this costs altitude, make sure to fire from farther up.