A U.S. judge on Thursday rejected Boeing's agreement to plead guilty to fraud in the wake of two fatal 737 MAX crashes.