Serena Williams has said she will not retire after giving birth to her first child with fiancé Alexis Ohanian later this year.