A taxi driver who recorded TikTok videos from his cab was allowed to keep his licence after he was quizzed about the films.