Air India, which has reported heavy losses, has also faced a series of safety lapses.