Investment and market power