Nigeria has confirmed its first case of coronavirus, the health ministry said on Twitter on Friday, announcing the first case in sub-Saharan Africa, as infections spread rapidly worldwide.