The loan, meant to boost EV production, won final approval from Biden's Department of Energy as Trump prepares to trim EV-adoption policies.