Rivian’s stock took a dive Friday, after the electric vehicle maker said it was experiencing a supply shortage, prompting a cut to its full-year production guidance.