Andriy Onufriyenko/Getty ImagesIt was just a few years ago that electric vehicles posed an existential threat to the powerful United Auto Workers union. While the UAW supported then-President Joe Biden’s effort move away from gas-powered vehicles to clean-burning, battery-powered EVs, union leaders feared the transition could wipe out tens of thousands of factory jobs. That’s because EVs have fewer parts than contained in a gas-powered car. A UA…