Rivian’s second-quarter sales rose 9 percent to 13,790 despite a factory retooling in April to cut costs and freshen the R1T pickup and R1S crossover for the 2025 model year.