MORKAHI, India—As a teenager, Ram Singh left this remote rural village and moved to fast-growing New Delhi to chase the spoils of his country's economic boom.

For 14 years, he toiled in tiny, primitive factories making everything from auto parts to components for light switches. His wages barely kept pace with the cost of living and eventually he gave up on city life.

Today,...