All airlines serve alcohol on their flights. Would that make them haram to invest in?
If the airline company’s revenue comes from multiple sources among which is selling alcoholic beverages, then it is permissible to invest in the sources other than alcohol sales by stipulating in the investment agreement that you will only partake in shares that do not involve the sales of alcohol.