Rivian rides expiring EV credits to a revenue beat, and its stock moves higher