Jokes involving racial stereotypes can be funny and inoffensive if what you're making fun of IS the stereotypes, not the race. The writers of Airplane! being Jewish themselves, I reckon they knew exactly what they were doing. At least the bearded plane is clearly an example of making fun of the stereotype, not the people.