OpenAI, which counts India as its second biggest market with millions of users, is locked in an intense court battle.