Rivian Automotive Inc. won preliminary approval for a $6.6 billion federal loan that would support the construction of an electric-vehicle factory the company put off building earlier this year to ...