You don't need legislation to swim or eat fish. In a real way, the legislation sanctions a certain level of poisoning to be acceptable. How much fluoride in water, zinc or metals in food, can we 'fortify' food with iron filings and chalk (calcium).
The problem you seem to miss, is that the legislation is already written in favour of the corporations and government in the first place. It is not about the citizens, it just has to appear that way for people to buy into it.
Corporations already have free reign to act as they like - mobile phones are essentially government id at this point - the governance system is delighted that they have access to your private information. There is no concern with protecting people from the worst corporate actions. Corporations are already monopolies, and this is fine.
The legislation is already corporate and merely pays lip service to citizens/consumers - it's there to to provides cover for corporates, as well as providing other benefits, such as creating huge barriers to entry via licensing, etc.
Society does get more progressive and ethical, but it's only one coat of paint. America had a real fresh coat of paint after the Civil War, Civil Rights, and progressive reform movements of the early 20th century. The things you are mentioning is the in between periods between new coats of paint. We're sort of due for one. And, yes, that coat of paint will start to look yellow and chipped too, where you'll notice all the failed promises.
Legislation against polluting, for example, gives you the freedom to swim lakes and rivers and eat their fish without getting poisoned. Or to breathe the air without it destroying your lungs. Regulations can give the freedom to not have financial industries 'fee' you to death. Laws can be to used ensure that you have the freedom to push back against the many other encroachments that powerful companies and corporations will always be grabbing for. In fact its our only defense.
You look at laws as restricting individuals, and while that is sometimes the case, their real power is restricting and holding back the worst behaviors of tech companies, factories, banks, insurance companies, tele-service providers, mega-retail chains, property owners, health service providers and all the other key components that make our society run. If they have free reign to do whatever whenever, they will inevitably consolidate, monopolize, and then use that power to squeeze every last bit of an individual's freedom. Not just because they could set any arbitrary pricing (see drug companies), but also dictate behaviors through TOS. All of this will be for their benefit only, at the expense of your freedom.
We need all of these industries to make everything work, but without laws and regulations, things can pretty dystopian for the freedom of the average individual. The heads of these industries will be doing great though, so there's that.