They haven’t shied away, it is just more profitable to mine outside your borders using slave labour. The fact of it is, with planned obsolescence being the best way to ensure a steady demand of a product, and the environmental destruction required to support the manufacturing and use of EVs, they still are not a solution. They are a market solution which means it is profitable, and a lateral move at best, and a back step at worst.
If EVs help the environment that is secondary.
https://miningwatch.ca/publications/2023/9/6/contemporary-forms-slavery-and-canadian-mining-industry
Maybe, it sounds familiar. But if past trends are any indication, once enough of the market is dominated by EVs, there will be a lot more money to be made by lowering quality to a bare minimum.
And the infrastructure argument still stands in that case.