When you first invest 100k and then sell something for 2$ you don't make a profit for a while. You may be arguing for some other tax but it's ridiculous to argue income tax should be paid until revenue > costs.
>>If you dont make profit on that sale, I have bad news for your business idea.
When doing business you often don't know if you will make profit or not. In the coffee example you don't know how many you are going to sell so it's impossible to "include costs in the cup of coffee" because that depends on how many you are going to sell and that's unknown. Your whole line of reasoning makes 0 sense.