A new TikTok feature will help people who have epilepsy filter out photosensitive content that could trigger seizures.