The Department of Justice says in a new court filing that TikTok collects data on how American users view topics like religion, abortion and gun control.