San Francisco authorities say that Twitter offices in the city are under investigation for constructing makeshift bedrooms.