Technology is… disruptive. Not to be cliche. I don't think that "mostly due to AirBnB" is likely fair.
AirBNB is around at the same time that the economies of scale has strongly tilted in favor of cities, who have restricted housing supply for years. In other words, clustering of specialties. Tech in SF, finance in NYC/London etc where the runaway effect is like businesses clustering b/c of talent, and talent flooding to the place, and the cycle continues.
They make an easy scapegoat for politicians other bad policies because timing goes along, but the rent is likely due to broader population crunch that other cities (including Boston where I live) are facing.
That is not to say we don't need to ever craft policy, maybe some kind of restriction on rental terms makes sense. Boston just made it tougher to do short term rentals -- but at the end of the day the real problem is that Boston restricted housing supply for years with bad zoning and burdensome regulation. Now a new technology hit that democratized what people can do with their property, and it's causing some friction, but I don't think it's fair to point all the blame there.
For instance, in Boston AirBNB is < 3% of stock last I checked… which probably has an impact when supply is so constrained but it should have never gotten to this point to begin with.
We need to fix supply problems, not ban a new technology that clearly resonates with consumers around the globe.