Rivian Automotive Inc. on Wednesday said it posted a first-quarter net loss of $1.6 billion on revenue of $95 million.