I have a mid 2013 Air as well (and I recently replaced the battery for $100, it’s great and you should too), but I’d attribute the long life to simply the SSD and the software rather than anything else.
I think not having a dedicated GPU helps a lot too. Less heat, and one major component less that can break. In my small set of anecdata, consumer Macs outlive their Pro counterparts.