In a sign of how seriously Amazon is taking TikTok, the company cut deals with Pinterest, Meta and Snapchat to let users shop without leaving those apps.