My experience is that they serve different purposes.
I have a very nice and expensive set of ReSound hearing aids and they're fabulous at what they do, which is focus on speech and kind of on music if I set them for that.
They're also unobtrusive and easily last 18-20 hours on a charge. I forget I'm wearing them, and nobody notices that I have them.
My AirPods I use primarily for running and listening to music because they just sound unbelievably better, and they're probably fine for a concert although I haven't done that with them. But I think for long-term use every day all day it wouldn't be that comfortable or unobtrusive.
Would love to hear the experience of somebody who's trying it, though!