Rivian’s projection that its cheaper models would attract more buyers this year powered a near 20% stock jump on Friday, the latest sign of electric vehicle makers betting on affordable cars to revive sales after a key federal subsidy expired.