Serena Williams and her family will be spending "the next six weeks in solitude" amid the coronavirus.