Firms are weighing the stigma of war against their own commercial interests and the fact that vital metals like aluminum and copper were in short supply even before the invasion of Ukraine.