Lufthansa said it will focus on reducing costs this year after attacks deterred travellers from booking trips and resulted in a profit warning for the German airline group.