New Zealand is at risk of running out of life-saving medicines - including antibiotics and heart drugs - if global catastrophe strikes, researchers warn.