Apps like TikTok and Whatnot allow small-business owners to peddle their wares in real time—and make real profits.