It's not that companies are "operating intelligently" it's that they aren't: they're operating on a principle that maximizes profits (and ROI for shareholders) at the expense of everything else, that's the central guiding principle, and nobody at a publicly traded firm can oppose it successfully, without being voted off the board by shareholders. It's effectively an algorithm that delegates tasks to human operators, and automation is slowly replacing the human component.