cut counts fields from the left, so it cannot ask for the last one when lines have different lengths. Reversing the line first gets around that.
echo /srv/media/films/2024/clip.mkv | rev | cut -d/ -f1 | rev
rev reverses every line character by character. The last field is now the first one, cut -f1 takes it, and the second rev turns it the right way round again. The result is clip.mkv, whether the path has two folders or ten.
Change the field number to get the one before last, so -f2 gives 2024 here. And with -f2- you get everything except the last field, which is the parent folder:
find /srv/media -name '*.mkv' | rev | cut -d/ -f2- | rev | sort -u
That lists every folder that holds at least one mkv file.
I’d pick it for quick one liners where awk feels like more typing. For a single path in a script, basename and dirname or the shell’s own ${path##*/} are clearer to whoever reads it later.
Keep in mind that rev works on characters, so it is fine with multibyte UTF-8 text in a UTF-8 locale. With a locale like C it may turn accented characters into garbage, because it then reverses bytes.
Further reading: rev(1) manual page, GNU coreutils: cut invocation