Cook hinted that an option could be for Apple to build an autonomous-driving technology platform used by auto makers.