Arbitration is legal because of freedom of contract.
There is nothing "obviously terrible" about arbitration per se. When it is included in a freely negotiated contract between parties of equal bargaining power it is hard to find anything wrong with it.
The problem is when the parties do not have anywhere near equal bargaining power.