News Oracle Corp., the world’s second-largest software maker, is weighing a surprise bid for part of TikTok’s business, seeking to rival Microsoft Corp. in the race to acquire the viral video streaming app, according to people familiar with the matter.