BYD slashed prices in China by as much as 34% last month, the latest round of deep discounts in a battle now stretching into its third year. Sales have slowed overall, and new entrants like Xiaomi Corp. and Huawei Technologies Co. have dialled up the competition.