President Joe Biden will not enforce a ban on social media giant TikTok which is due to take effect the day before he leaves the White House, a US official has said.