I just found it interesting how you called them modern, they were probably some of the comedies I would call modern, and then I looked and realized they basically predate the founding of Uber.
Those movies you mention weren't necessarily made to cater to foreign audiences, Hollywood may have always enjoyed making money from foreign audiences but the balance has largely shifted over the last several years to the point where foreign box offices and audiences come first and determine what films get made and their content, that's a big shift in my opinion.