It’s a high-wire act, but India is uniquely suited to pull it off—and companies like Apple have noticed.