TikTok reaches deal with Oracle after rejecting Microsoft's bid