You force them to pay for the negative externalities they cause so that their profit incentives are not as misaligned with what is good for the rest of the world. This includes making companies pay for pollution but also for much more abstract damages like the reduced consumer choice from monopolies.