DETROIT — Amazon Inc. will lead a $700 million investment round in electric vehicle startup Rivian Automotive.