1. Willy Wonka & The Chocolate Factory
  2. Ex Machina
  3. Charlie and the Chocolate Factory
    Suggested by @richardkraft
  4. Spy Kids (I think that is part of the plot)
    Suggested by @richardkraft
  5. Showgirls
    Caveat- contest is a dance-off (with ice cubes) and inventor is more of an entrepreneur, but otherwise adheres to formula
    Suggested by @dave