Unrest in Libya has almost wiped out production in its key oil sector, slashing output by 1.4 million barrels a day to around 300,000, the head of French oil giant Total said on Friday.