The cost of the lunch is $10, but is the value to the employee $10?
The problem with taxing a product is that the actual value is unknown. In your example, taxing the lunch as $10 of income is actually giving the benefit to Company B due to the "reverse inequality of exchange". IE if you buy a $10 lunch, you actually value it more than the $10.