Of course, GDP Per capita doesn’t account for income inequality which is far worse in Ukraine than China.
Ukraine has had a negative population growth rate since 1991.
That’s a combo of more Western capital projects as the state companies were sold off and a decreased population to spread that unequally distributed wealth across.