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