Amazon has dedicated half of its new headquarters to Mary’s Place, a nonprofit that provides shelter for homeless people.