A survey of landlords has found that hundreds of thousands of tenants are living in unsafe housing with missing smoke or carbon monoxide alarms as landlords aren’t meeting obligations on repairs that they are responsible for.