Volkswagen to invest billions in US electric car company Rivian

German auto giant Volkswagen plans to invest up to $5 billion in the US electric car manufacturer Rivian in the coming years, both companies announce.