GrubHub has been hit with a proposed class action lawsuit that accuses the app-based food ordering and delivery service of funneling consumer data to TikTok parent ByteDance and contributing to a national security threat from China.