Welcome to manufacturing. How much ore do you think it takes to make a roll of aluminum foil that sells for $3?
Obviously it takes more than 4g of raw materials to produce AirPods. But it takes extra material to make pretty much everything. So comparison-wise, it's still a tiny, tiny amount next to your TV or even laptop.