The Chinese EV maker generated its first quarterly operating profit in the fourth quarter.