He's not being accurate about Pepsi. In 1998, Lucasfilm secured a very lucrative deal with Trimark (?), the parent company that owns Pepsi, Taco Bell, KFC and Pizza Hut. But that happens with every blockbuster. Like any tie-in related to the prequels in the late 1990s--Fox, Kenner, etc.--the company that got the job paid a handsome fee, thinking the films would be huge hits. Lucasfilm made a killing but the Pepsi parent company didn't make much, Kenner lost money, and I dunno about Fox, I think they were the only ones who benefited, but not that much.
Anyway, Lucas didn't make the films for Pepsi, but Pepsi sure did pay him a lot of money once he did.