Workers for the tech giant will be allowed to use sick time or take unpaid leave if they test positive for COVID-19.