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