Fire codes in many developed regions also require working smoke alarms whether the property is rented or owner-occupied.
Add to that the economic incentives involved when you wish to insure you property against fire and liability, or mortgage it (which almost always imposes a requirement to insure the property).