RU-486 is essentially a poison. That is how it functions to abort a pregnancy.
Chemotherapy, the cancer treatment, is also poison. Cancer cells grow much more rapidly than non-cancerous cells, and this fact is exploited in the treatment. The poison from chemotherapy harms the growing cancer cells to a greater degree than normal tissue, causing them to die while most healthy cells survive.