Russian tennis player Anastasia Potapova has made history at the Madrid Open, becoming the first lucky loser to reach a WTA 1,000 semi-final.