There are farms that aren't like that. If you truly care about animal welfare make a point of only buying meat from these farms and be willing to pay the higher price.
The problem is the anonymity of meat that is sold in grocery stores. You literally have no idea where your meat came from, how it was treated, how it was raised. Organic/free-range labels give you a little bit more info, but not a lot.
Improved labelling would go a long way toward solving this problem for me. Perfect world: I'd like to be able to scan a barcode or QR code or something and see a basic chain of custody. Where the animal was raised, where it was slaughtered, where the meat was packed, etc.
* EDIT: typo.