Naomi Osaka took her second straight WTA title by beating Ashleigh Barty in the China Open final on Sunday.