Volkswagen is getting help with electric cars from Tesla challenger Rivian—and wants to spend up to five billion dollars and develop technology for future vehicles in a joint venture.The cooperation is quite narrowly defined: Software, control computers and network architecture. Volkswagen will switch to Rivian’s technology and software for new cars in the second half…