Lawmakers from both the Republican and Democratic parties have introduced legislation which would bar the social media app Tik Tok from app stores.