As U.S. pressure mounts, TikTok's parent is racing to secure AI supremacy--before Washington slams the door shut.