In a letter to shareholders, Rivian warned that supply chain issues would limit its production in 2022 and said it expects to produce 25,000 vehicles.