Dogs should not eat steak fat regardless of whether it is raw or cooked. Too much fat intake can lead to high cholesterol, which can lead to a variety of different conditions that can turn life-threatening over time. With that being said, a small piece of fat trimming is unlikely to harm your dog in any way.