Japanese pharmaceutical company Shionogi & Co. said it will invest $2.1 billion to raise its stake in ViiV Healthcare to 21.7%, making it an affiliate of the HIV drugmaker.