They have a fiduciary responsibility to the shareholder and therefore will act in a way that maximizes profits. It's just what they do as a consequence of what they are. In candyland this leads to overproduction as companies race for existing markets and seek to penetrate new ones, and as a consequence they end up making a hell of a lot more than what they need, which leads to better access and lower prices for the consumer. In the real world? The classic example of something capitalism is really good at making is a pencil, and you have to hand it to them. Pencils are in fact cheap as hell and very readily available. Food, shelter, and medicine, on the other hand...
IIRC the cabins were built prior to the designation of that area as a flood plain, and the camp wasn't required to relocate the cabins.