Steven Spielberg made $40 million from movies he didn't even direct.
In 1977, Spielberg and George Lucas made an unusual bet - they exchanged percentages of future profits: Spielberg received a share of Star Wars, and Lucas received a share of Close Encounters. The conflict took shape through the directors' companies: Spielberg's Amblin Productions was entitled to 1% of Star Wars' net profit for consulting services. Lucasfilm got the same percentage of close encounters.
Star Wars raked in significant amounts of money. Close Encounters also performed well, but, naturally, was inferior to the future franchise. So the gamble turned out to be more profitable for Spielberg. Moreover, the money came gradually: the profit sharing made it possible to receive payments as income from the film was received.
In 2007, Spielberg confirmed that he continues to make money from the agreement even after thirty years.