Fierce fighting for control of Libya’s capital that has already displaced tens of thousands of people threatens to create a greater humanitarian crisis, a senior UN official has warned