VW and Rivian are betting they can help each other with their EV lineups at an increasingly precarious time in the industry.