We need a corporate tax code that raises their liability based on profit margin. A company that increases their profit margin would pay a higher rate than a company charging a more reasonable margin.
I know, probably not workable.
https://www.commondreams.org/news/corporate-profits-inflation