Markov perfect industry dynamics with many firms