I think you're saying
the purpose of regulations should be to hurt the stock price of companies. That's seriously crazy. Why not write a regulation simply outlawing public stock markets?
The purpose of regulations are to make people's lives better. That could mean protecting them from harms, or preventing other undesirable outcomes. There should be a cost benefit analysis applied there. Of course some things are hard to measure so there will be arguing on the margins.
The place I do agree with you is that if a company's business is doing regulation compliance (see: Intuit), then their viability shouldn't be a factor at all.