First, Airbnb is very host-centered. The host can pick their guests, make changes to their reservations, etc. I think if they said “your house will host homeless, but don’t worry we will pay you anyway”, they’d lose 70% of US hosts regardless. The shelter is only part of the problem with homelessness, going hand in hand with at least mental health care.
Second, it may have to do with prices. I imagine a night in Kabul cost $15–25 for an apartment (prior to the withdrawal, at which point they probably lowered further); now compare to prices in say Washington or SF area. Imagine Airbnb declares a plan for fighting homelessness, and has to pay actual market rates to its hosts in major US cities.
All in all it looks like it could be an interesting idea for a non-profit, but it doesn’t seem to make sense as a long-term tactic for a business like Airbnb.
This could be a good question to ask companies like Booking.com though, where hosts are generally not expected to be able to choose whether to accommodate the name on the booking.
These refugees aren't in Kabul any more; airbnb is probably paying market rates, or close to them, though perhaps not in DC or SF.