India produces the most movies of any country, but shifting audience habits are squeezing production budgets and studios are responding by tapping AI.