A care home worker has apologised after filming vulnerable residents and reportedly sharing the clips over social media.