Korovkin-type approximation in spaces of vector-valued and set-valued functions