Dry pipe sprinkler is cheap, 2-4$ per square foot. The water supply is the problem. Bigger buildings like agricultural you are getting into 1000 USgpm+ pumps, heated pumphouses and a reservoir.
For many farms a water supply already exists as a pond somewhere on the place. You can use a used pump for the system, can't do that in regular commercial buildings.