UN officials warn Beirut may face same "spiral of doom" as Gaza, seek urgent action to stop conflict.