Brand names in TV shows and Movies

What's the policy on mentioning brand names on tv or on movies... like when someone says "I feel like McDonalds" Did McD's pay them to say that? and movie called fast 5 where Dodge charger cars clearly mentioned & used in chase scenes throughout the movie did Dodge company paid to the movie producers?