In the last years, audio equipment has made huge advancements thanks to Adaptive EQ, Spatial Audio, and the like. That’s especially true for headphones.
AirPods today are a totally different beast than the standard iPod earphones from 2008, say.
Apart from that, I have had AirPods Pro since their release and battery life was never an issue – for years now. That’s not bad for an accessory like headphones. You know how many headphones are being thrown away every day because they are meant for one-time use? That’s crazy!