The electric-vehicle boom that led to more than a million sales last year showed signs of cooling for top players, including Tesla and Ford. But smaller brands such as Rivian and Kia picked up some of the slack, according to U.S. new-vehicle registration data.