Renting is not capped, unless I'm reading your comment wrong and you mean that the city's government influences it. Vienna does not have an explicit cap. Newer flats and houses are index-bound and rents are raised depending on a certain inflation threshold. Older buildings are usually cheaper and there are strict rules on how much rent can be raised. What Vienna does to make renting an apartment affordable is build social housing. Lots of it. 500.000 people in Vienna live in social housing and the Gemeindebauten are actually nice to live in, priority is given to young Viennese still living with their parents, and you can stay in your apartment even if your income increases. The city can therefore bring down rents in the market as not only the poorest can live in these apartments, but they are a valid choice for many.
There also isn't a ban on Airbnb. As someone else already commented, you can still stay at Airbnbs in Vienna. You cannot rent out apartments in social housing as Airbnbs anymore and there are areas in the city where you would have to get a special permit and other inhabitants of the building would have to agree.