BMW has diverted its imports into China to Shanghai following explosions in Tianjin.