This has negative effects on many others in the economy. For example, Amazon bleeding out small retailers by capturing their supply chains and treating its own workers badly. Or Facebook manipulating teenagers into using its product despite the known negative effects on their mental health because engagement = money.
In such situations, something needs to counteract these companies' market power in order to reduce the negative effects on others. This can be consumer protections, labor laws, unions, antitrust litigation, or other types of regulation.
We've lived with a ton of such regulation that we don't even think about because it seems common sense. For example, we are not allowed to smoke inside a hospital, send our 10-year-olds to work in coal mines, or (supposedly) be forced to work 70-hour workweeks without overtime pay. It is only that the tech sector is too recent and we haven't figured out how to dampen its negative effects.