Катар Largest ever foreign investment in the Gulf state comes as it seeks to raise capital in face of Iranian attacks