A week-long militant offensive that has overrun swathes of Iraq is "life-threatening" and is the biggest threat to its sovereignty for many years, the UN envoy to Baghdad told AFP.