The difference between a company and a Ponzi scheme is that the company is actually creating some value. It is converting capital into resources, priorities and processes that generate more capital than it gets. At some point it can't convert capital into more capital, so it's better to pay a dividend -- but even if it never does this, it's not a Ponzi scheme if value is being created.
A Ponzi scheme never generates more cash than it gets -- it only simulates profits.