Rivian’s blockbuster IPO on Wednesday lifted the shares of virtually every EV maker. Even legacy carmakers got a boost.