A flight traveling from Newark to Los Angeles was diverted to Chicago after there was an alleged bomb threat on the flight, which the F.A.A. and F.B.I. are now investigating.