Japanese air bag manufacturer Takata has agreed to declare nearly 34 million vehicles defective due to problems with air bag inflators.