"can" doesn't mean they are. Sweden produces ~80 million tons of ore per year. I can say with 100% certainty that they are not doing the heavy lifting with renewables.
I’m sure there’s machinery in use which is powered by fossil fueles. You did mention separately that the mining industry is a heavy user of electricity, though, so I was referring to that aspect in particular. Apologies for not making that clear.