I have a a modest proposal. Any company wishing to use this kind of dynamic pricing should be willing to submit itself to "dynamic taxation".
Under dynamic taxation, we the public, would examine that firm's books at the end of the fiscal year and decide how much taxes they owe based on their ability to pay.
Note that companies are not natural people, they do not have a fundamental right to exist. Just like under dynamic pricing, if the shareholders and board think their dynamic taxes are too high, they are perfectly free to just dissolve the company and use their capital elsewhere.