Companies embraced technology to work remotely during the pandemic — now they’re using it for layoffs