Homeowners in Raleigh who rent out space through companies like AirBnB could lose a source of income under restrictions approved Tuesday by the city.