TikTok’s lifeline came via an executive order signed by Trump on Monday in one of his first acts after taking office.