I suspect the primary cause was engineering incompetence rather than a desire to save money. The water quality problems were caused by a lack of corrosion inhibitors; corrosion inhibitors would have cost $140/day, which is cheap compared to the $4 million that Flint spent upgrading the water treatment plant. It seems most plausible to me that the Flint engineers simply weren't thinking about the need for corrosion inhibitors.