The software struggles of today could become the AI problems of tomorrow, according to Rivian CEO RJ Scaringe.