Smart switches require a neutral wire for power, but many older homes do not have one available. You should never attempt electrical work unless you are a licensed or experienced electrician.
Just because you're renting doesn't mean you can't have some smart devices in your home, and these devices are perfectly suited for apartments.