This is a business and consumer law question. I suggest you repost this question to one of those categories.
This is not a substitute for a consultation with a business law or construction law specialist.
Such language can be included in a contract, but just because such provisions are in the contract does not always mean they are enforceable.
For specific issues, you should probably consult with an attorney who can review the contract.