Rivian Automotive rallies after releasing Q2 production tally