It's sad how the education system failed you. I'll try to explain:

You have a pile of lumber. You sell it, at a mutually agreed upon price, to someone who builds a house with it. Are you somehow entitled to piece of what that house sells for? No, you were compensated for the wood, the same way the builder's employees were compensated for their labor, expertise and productivity. 

Hope that helps.