QBI for Rental Activities is only available if the Activities qualify as a trade or business, rather than as passive activities.
For most individuals, this means they need to qualify as a real estate professional.
Here is a Help Article that explains more details: QBI Deduction for Rentals?