What do you think are the conditions like at the factories where they make Harry Potter merch? As they say, "Merchandising, merchandising, where the real money from the movie is made."
And her books sold well enough before the movies and merch.
There are ~500mm Harry Potter books in print (all years, all languages). Author royalties are between 6 and 15 percent of the cover price. She would definitely have been wealthy, but not billionaire.
What's your actual "you've provided too much value to willing participants" amount? If she negotiated royalties of 20% she would have been a bad person? If she put her money in an index fund and it doubled every 10 years, she'd become immoral later?