I'd agree with Andy's statement sometimes. Mining corporations are much more profitable than most other corporations, but definitely not all.
Additionally, it isn't as straight forward as closing a couple non-mining corporations to build a couple mining corporations as the response implies when the player is a CEO (which this thread implies). Especially with money as the end goal, making sure you're in a situation where you can keep building mining corps means you're limiting yourself to 100 corps total, where as if you continue to grow (which also helps with the perpetual shortage problem the worlds have with many products), you can grow to have hundreds more corps. So it isn't really a 1v1 mining vs non-mining as a CEO. Long term with the limits on mining building, you're really comparing the profitability of 1 mining against like 7 or 8 of whatever else you build.