One megadonor owns shares in TikTok, which Mr. Youngkin banned from state government devices in 2022.