Chilean state-owned copper miner Codelco has contracted enough renewable energy to ensure its operations are 100% decarbonised before the committed deadline of 2030.