Shares of electric vehicle manufacturer Rivian fell more than 15% in after-hours trading Wednesday after the company announced it would be laying off 10% of its salaried workforce in response to an increasingly difficult market.