Rivian could license EV architecture and autonomy software, UBS says—reshaping the auto industry like Apple vs Android.