Nio shares have cratered since July, but analysts at Goldman believe the worst times are behind the Chinese electric vehicle maker that hopes to challenge Tesla in the coming years.