So for example if you build a workshop in your garage and start making fine wood items, even if you sell them it may not be a business, and count as a hobby.
Usually the IRS is trying to find people with "perpetually money-losing businesses that are deducting each year" but you could get caught up in some cases.
As a random person who buys a graphic card to mine coin you can deduct the card price ?