Did someone invent capitalism?
https://en.wikipedia.org/wiki/Capitalism#Definition
It's a loose concept, a bag of things including basic human behaviour/self interest, mutually beneficial transactions between willing participants and the rules provided by governments.