How Xpeng went from near disaster to one of 2024's biggest success stories