More than 30 planes were grounded at San Francisco International Airport as part of a chaotic nationwide ground stop of all passenger aircraft.