Naomi Osaka apologised after having to quit the ASB Classic final in Auckland, New Zealand on Sunday after one set with an injury.