What are "the fundamental categories of economics"?
Cost covers all the inputs you mentioned and markets don't need to exist. Rent seeking is a perfectly valid alternatives to markets. So having to choose (cost/spend) between different alternatives (profit) is all there is. You can even include time as a cost and reduce it to two factors.