Serviced apartments and corporate housing companies offer fully services apartments.
You can cook there, etc -- they are fully serviced (eg you get cleaning people once or twice a week, beds are made and replaced and so on).
Usually these apartments are in clusters, and areas of a country that are well policed (at least in my experience).
I also prefer apartments if I stay somewhere for more than a week, or with family.