The A340-500 was once the longest-range commercial airliner, but it takes more than breaking the record to create a successful jet.