General Motors Co’s (GM.N) decision to shutter a car factory in Indonesia comes as global automakers rethink the timing and scope of investments in emerging markets once touted as engines of growth. Global automakers poured billions into Brazil, Russia, India, China and other emerging markets during the past few years.