After initially enjoying a big welcome in China, including being the only foreign automaker allowed to wholly own its local operation, Tesla has endured a series of setbacks this year.