They are meant to help the consumer.
Unfortunately neither of the two parties in the US even pay lip service to free markets anymore.
The Peter principle doesn't apply to consumers, but it does to producers. And if nobody regulates how big you can get, you eventually end up with a nothing but ruthless monopolies in every industry. Regulated markets tend not to generate as many monopolies. And of course, for natural monopolies, the state is the least bad option, because consumers have at least some say in how its operated through voting, and there is no profit motive.
The idealistic perfectly competitive markets entail exhausting all gains from trade.
Keeping a market free would require magnitudes more regulation than right now - the opposite of what free market proponents advocate for.