The Biden administration is poised to finalize billions of dollars in financing for electric-vehicle maker Rivian Automotive Inc. and hydrogen company Plug Power Inc. before President-elect Donald Trump returns to the White House, according to people familiar with the matter.