Boeing has warned that it might have to stop production of the 737 Max if grounding continues much longer.