High security
Some apartment buildings have high levels of security. For example, to enter a high-security building, a person must validate their smartcard at the door. In some apartments while at the lift the smartcard would be used again to be able to press the button for lift access. Finally, the person walks towards apartment and uses their key to unlock the entrance door. This 2 or 3-tier security will in most cases prevent home invasions and theft.
Apartments are also more convenient than owning a house as the general maintenance and landscaping is taken care of by the owner.