Companies forcing workers back to the office are potentially giving up their best talent, he said.