Copper producers must invest around $332bn in new mines to avoid a looming supply crunch and protect the pace of global electrification, according to BloombergNEF.