Chinese company BYD has surpassed Elon Musk's Tesla to become the biggest worldwide seller of electric vehicles.