In general, highly developed nations seem to be dependent on immigration, because the local population doesn’t want to grow fast enough and may even be shrinking. (Hungary may be unrelated; I get the impression they’re shrinking for the same reason that East Germany was shrinking, not because they are “highly developed”; certainly Andrássy Avenue looked like it hadn’t been repaired since the fall of the USSR when I visited).
Hungary is in need of skilled employment in areas like construction, hospitality, trades, IT, and administration, but cannot attract or train enough workers and retain them domestically with the levels of pay employers are willing and able to pay. Such skilled workers can simply relocate elsewhere in Europe and increase their take-home pay.
Hungary is the closest point to cross into the land-contiguous portion of the Schengen area from the southeastern migration route into the EU, so you can easily catch a train to an attractive destination like Germany. Despite the narrative of the Orban government, few of these incoming migrants want to stay in Hungary. The government could incentivize them to stay, if it wanted, but for racial and religious reasons, it doesn't.
This leaves the state in a difficult situation. In the early years of foreign investment, it was attractive because its highly educated workforce and labor costs lower than Western Europe. But now it's subject to skill drain and brain drain and its value proposition has been reduced.
An obvious alternative would be adopting policies to raise the domestic birthrate to the population replacement rate, e.g. increasing the child tax credit, and various policies to disconnect housing costs from school quality so that prospective parents don't change course when they see how much more it costs to buy a house in a good school district.
Automation hits some industries harder than others. It's barely affected restaurant workers, for example, but has decimated mining labor.
Another recent example is processing meat. The US has a shortage of labor, but robots can't do the work and Americans refuse to.
Further reading: https://en.m.wikipedia.org/wiki/Alabama_HB_56#Impact
https://topics.amcham.com.tw/2018/11/taiwan-embraces-southea...
https://www.forbes.com/sites/ralphjennings/2018/03/19/taiwan...
https://www.japantimes.co.jp/opinion/2019/06/26/commentary/j...
If birth rates are low, how does your economy function with many older workers who can't/won't do labor like construction?
Why is Japan opening itself up for immigration specifically to fill jobs? What other solution should they have chosen?
Do you have a concrete policy proposal for a country like today's Japan?
As far as the claim that capitalism doesn't require infinite growth: that doesn't seem mathematically possible, ans it's certainly an unorthodox claim. I'd say that puts the burden on you to provide evidence (or, at the very least, explain).
the basics of econ, growth isn't even mentioned when it comes to capitalism.