Rivian Automotive is facing scrutiny over its operating costs, capital expenditures and cash burn as part of second-quarter earnings after the market close Thursday, as the electric vehicle maker boosts production at its Illinois factory and plans for a second plant, in Georgia.