Resource Investment in Competitive Markets.