BYD is taking advantage of Tesla's rough year as the two rivals compete to become the world's largest EV maker.