Boeing on Thursday said it will take a $4.9 billion charge in the second quarter due to the worldwide grounding of its 737 Max planes after two fatal crashes that killed 346 people.