Germany to take stake in company working on virus vaccine