Automakers and parts suppliers have shut factories in China, in line with government guidelines, or have flagged a hit to profits following the coronavirus outbreak.