This describes charities, trusts and local governments. Maybe artisans. The East India companies weren’t trying to “provide services and value” to anyone but their owners. Even going back to Roman times, civic duty and commercial interests were distinct parts of peoples’ work. You were expected to do both. But the unification of the two pursuits appears to be more modern.
"The purpose of a corporation is to ... create value over the long-term, which requires consideration of the stakeholders ... (shareholders, employees, customers, suppliers, creditors and communities) ..."
https://corpgov.law.harvard.edu/2020/05/27/on-the-purpose-of...
Sure. (Though this is far from settled.) But saying this was the "original...purpose of a company" is inaccurate.
I do not see historical support for your claim that the purpose of a company was "to employ people and provide services and value to the community they existed in" even if that would be an ideal social outcome (and one which I'd personally prefer to see everywhere).
[1] https://news.law.fordham.edu/jcfl/2018/11/18/a-brief-history...
The purpose of a corporation is to conduct a lawful, ethical, profitable and sustainable business in order to create value over the long-term, which requires consideration of the stakeholders that are critical to its success (shareholders, employees, customers, suppliers, creditors and communities) ...
https://www.aspeninstitute.org/programs/business-and-society...
Business corporations are perhaps the most influential organizations in society and have long been recognized as important contributors to the common good. Society grants corporations unique privileges in order to harness their great capacities to serve its needs.
https://www.ft.com/content/482a8435-c04c-4be8-9856-941e7ecf1...
... it would abandon shareholder primacy and redefine corporate purpose to create an economy that “serves all Americans”.
https://hbswk.hbs.edu/item/the-role-of-the-corporation-in-so... :
... scholars Berle and Means (1932) predicted ... both owners and "the control" accepting public interest as the objective of the corporation.
For what it's worth, I don't know if any of those sources cover broad economic trends across history. I do find them in pursuit of noble goals for the early 2020s.
But in this case, my opinion is that there's a bit of a gulf there in between "this is how I would like things to work" and "this is how things have worked today/in the past/for a long time".
The social function is downstream from this, and it's also what creates friction to actually /change the law/ to withdraw those privileges -- you do it at the risk of hemorrhaging that tax base which funds the governing apparatus.
'Look at all these employees I resent having to spend money on and actively try to make redundant and underpay. Aren't I just great?'
I'm pretty sure I don't like this new definition; it feels like it's based on greed, not value.