Takata is a Japanese company but they might have these defective systems built in China.
When buying a car look for one with Autoliv airbags.
The Takata bags were not built in China, they were built in Japan and the US. The problem isn’t the build quality per se but the design and the QC - especially the fact that the substance used to inflate the airbags is a known generally unstable (when exposed to heat and humidity as in a car interior) explosive material, ammonium nitrate. The New York Times (for once) had a good overview of this. Unsurprisingly, it was GM that enabled Takata to start making and selling these things.
http://www.nytimes.com/2016/08/27/business/takata-airbag-recall-crisis.html?_r=0