I’m using both AirPods and E8 on rotation. Both are different in its own class so no fair comparison between the two.
AirPods connect and work seamlessly with Apple devices (maybe because I’m on the Apple ecosystem) so it’s very convenient AND being an earbud-type, so far it has the best sound for earbuds. Because of that, bass and details fall short as there’s no isolation. AirPods are built for Apple devices.
The E8 is in-ear type, hence better isolation and better sound too. The internal hardware is also of higher quality and it’s built for music. The Beoply app also allows you to tweak the sound to your liking, therefore have an upper hand over AirPods. The good thing about E8 is that it allows you to hear your surrounding sounds at a touch on the left earbud. Bad thing is that connecting to your devices is not as straightforward as AirPods.