Because different industries have wildly different profit margins so if you taxed revenue instead of profit, companies in some industries would be wildly undertaxed while others would instantly go out of business.
Humans, on the other hand, all work mostly the same.
For individual capital income, you are also only taxed on profit (although some presidential candidate are trying to change that with wealth taxes).