The company’s nonprofit arm is partnering with local organizations to place displaced residents in free housing on a short-term basis.