Takata, Japan's largest manufacturer of air bags and seat belts, is to close three factories, two in Mexico and one in Europe, with the loss of 2,100 jobs because of falling demand from carmakers.