Tesla just broke ground on its new Gigafactory in Shanghai, but entering the Chinese market might be more complicated than the company planned.