Not exactly similar IMHO......actually it's a bit incorrect to compare manufacturing sectors with service sectors....
The top/famous foreign brands manufacturing in China have their own manufacturing units, if they decide to shift, they will lay off workers and sell their property.......this will increase unemployment initially but the presence of domestic firms manufacturing the same products and catering to domestic as well as foreign needs will slowly absorb the freed labour force thereby reducing the impact of divestment by these huge foreign companies to a large extent....
Microsoft moves Nokia manufacturing from China to Vietnam | ZDNet
Whereas, in case of India, the IT/software firms are mainly catering to the need of foreign clients, they survive on contracts....
If those clients decide to give their contracts to cheaper service providers in some other country then the Indian firms will have no other option but to shut down as IT or software related contracts from within India is insignificant......and the labour force freed by these firms will not be employable to other sectors thereby only increasing unemployment......
Bottomline is, for a stable economy, there is no alternative to domestic manufacturing and a huge domestic market....