Then why did those company fight, and not just leave...?

Worth pointing out also that the US is the odd one out, here. Europe also enforces consumer rights.