Where did Rivian’s electric truck come from? It’s a long, messy road