That is only true if there is a monopoly on automation, which there generally isn't. In which case the productivity increases go into lower prices, which result in greater demand for whatever is still scarce.
That can be capital owners (e.g. land), but it can also be skilled labor or literally anything else which is in demand and people choose to spend the money on that they had saved from the lower prices driven by automation.
This is especially true for things somewhere between niche and commodity: it's not worth automating something if you're not producing enough of them to justify the capital cost of the automation equipment. It's not worth reusing your rockets if you're only launching like 3 satellites per year (still have to keep the factory open and practiced). This is why Moore's Law has slowed: tech has tapped basically the entire world's population (more than 5 billion people have mobile devices now); there aren't vast new groups of consumers to sell to any more, so the investment in the next step is not worth it like it was before.
In short, more humans actually increases the per-person productivity.
* data mining or AI can analyze data sets better than all the humans you could possibly muster, data sets that can illuminate low volume but high impact decision making (new product need, safety critical alerts, incoming asteroids) * robot surgical devices can perform more consistently (possibly higher efficacy) which is highly valuable even for low volume surgeries * automated cars will be demonstrably safer even if overall demand for transportation declines * demand for more specialized and lifelong education will increase even if the number of students decreases (career changes, working retirements, self-improvement, etc) * automated solutions to climate change remediation (carbon sequestration, planting trees, etc) will likely scale well beyond manual labor options in an aging shrinking population and will be needed generations after the damage levels off * space exploration requires automation even for just a single mission, and even a smaller population will likely continue to explore the solar system
I think imagination and adaptation will manage ok. In fact I would rather see capital deployed to less consumption by volume and more high value consumption. Would you rather eat a farm-to-table organic microgreens salad for dinner, or a bag of Wonder Bread?