How did Tesla lose to BYD?

Tesla, the 23-year-old company that brought green cars to the mainstream, has been ousted from its position as the world's…