it would depend on what it means to hold stock "via the stockmarket".
If those chinese/russian citizens had a legal entity in the US, and purchased via a US broker, then they ought to be able to claim legal ownership of those stocks they purchased.
If, on the other hand, the stock was purchased on custody by a chinese/russian entity, then the govt would've been able to seize that ownership.