Business-to-business transactions are however not subject to such protections. You can put anything you want in a contract (including unreasonable clauses) as long as it doesn't violate any laws.
The US is a common law country and as far as I know doesn't have this "reasonableness & fairness" principle for business-to-consumer contracts. In contrast to civil law countries, where judges tend to look at the spirit of the contract, common law country judges look at the letter of the contract. That's why old ladies can sue McDonalds when they burn their tongue on hot coffee. "Hey it's not written anywhere that I should be careful with hot coffee". And that's why US businesses have to put literally everything in contracts.