Hotels clean guestrooms for the room occupant nightly, operate a front desk staff, reservations staff, PBX staff. The purchased linen, slippers, ropes. Most apartments don't do these things except at the most luxury level. The cost to operate is more for a hotel than an apartment thus the price is more expensive.