A Game of Competitive Investment: Over-capacity and Under-learning