Investing as people think about it only exists because people who invest expect value from the thing they invest in. That value only exists because of a mixture of current and future expected income from the business. If the business itself doesn't generate income for people who aren't doing the actual labor, there's no reason to invest unless you have a personal interest in the continuation of the business, i.e. you're an employee whose income depends on that job. In this scenario you'd have employee-owned businesses.
Obviously this raises the question of where funding comes for new innovation and growth (public investment banks, worker cooperative financing, government grants), but then it goes down a rabbit hole about alternatives to capitalism.