A book is a perfect example of that.
The prime example of passive income used here is patio11's Bingo Card Creator.
One also could say that in traditional investing, the upfront work is the research work to find right index funds or buying property in real estate investing. They might be less work than writing a book, but revenues e.g. from passive index fund investing are also significantly less than from writing a book, if your starting capital is small.