How Beirut’s resilient allure to investors has come to an end