A chip shortage contributed to the drop in car registrations in 2022 - but electric cars boost market share.