Former world No 1 Naomi Osaka reached her first semi-final since 2022 and her maternity leave after fighting back against Hailey Baptiste at the Auckland Classic on Friday.