Uber Technologies said it would buy vehicles made by Rivian to be used as self-driving taxis and invest at least $300 million in the company, as it moves to strengthen its foothol ...