Bottom line: If a company makes $1MM in revenue and pays $1MM in salary, they owe taxes on $800k profit. Yes, this is actually the law now.
The salaries are not an asset, they are the cost of creating the asset. They are capitalizable similar to (but on a different schedule than) costs of acquiring software that is not developed in house.