A Tesla rival now builds stuff for Apple