The European aerospace giant to stop making world's largest passenger plane after 12 years in service due to weak sales.