Actually, scratch the bear spray part. I suspect that standard tear gas grenades that police uses against the rioters would work just as well on bears. Idk, maybe you'll need to up the concentration of the active compound a little bit or just drop several grenades at once.
And we all seen how easy is it to jury-rig a cheap drone to drop grenades.
Literally dirt cheap, no research required, people are saved from bear attacks, bears are scared and annoyed, but otherwise unharmed.