Dynamic Retail Price and Investment Competition