Takata Corporation, the Japanese company facing defective airbag recalls worldwide, is to file for bankruptcy by the end of this month.