New cars and trucks are packed with sensors and technology that protect and pamper drivers and passengers. But those features are also raising the cost of repairs after accidents. The average cost of making damaged cars good as new has soared 36% since 2018, and may top $5,000 by the end of this year, according to Mitchell, a company that provides data and software to insurance companies and auto repair businesses. That big increase is the main reason that insurance premiums have been soaring — up 17% in the 12 months through May. New SUVs and pickup trucks, including a...