Even many poor people have pensions whose finds are invested in the stock markets while many rich people rely on wages - there are not two distinct and separate groups of people.
Moreover most people - rich or poor - in rich countries, benefit directly from private sector 'profits and rents' of rich country businesses and also through their rich country governments. Again there is no clear separartion or distinct groups that can be held to be in opposition.
Even some poor people in poor countries might well own assets (some farmland, a shop, a fishing boat) and 'profit' from rents or employ people on wages.
There are no clear cut 'classes' which are in neat opposition to each other: reallife is messy and not neat, it can't be meaningfully or accurately modelled using clunky and obsolete 19th century ideas which are well past their sell-by date.
Every single individual has a relationship with 'capital' - capital itself is not embodied in a distinct, discrete or exclusive class of people. Everyone is within the system and the system has its own logic - there is no need to try and pretend that aspects of capitalism can be 'embodied' by discrete groups of people. Anyone is capable of deciding that they want to support or oppose various aspects of the system and how they want to express themselves politically. This means that political struggle is not automatically determined by underlying waelth or relationships with the 'means of production'.
There are even more flaws in marxist analyses - a nonsense 'labour value' theory, a flawed definition of 'means of production', an utter fetish on industrial workers and an inability to understand modern economics generally.
For all these reasons 'class struggle' advocates - anarchist, communist or otherwise - are irrelevant and wasting their own and everyone else's time.