Why do some TV shows, movies, or games make up fake versions of existing things?

Examples: GTA making up fake care brands, Icarly with the pear products instead of apple, and you get the idea
Update: I watched a TV series once where the main character worked at a McRonalds- not to be confused with McDonalds.
4 answers 4