How realistic fake foods are made for TV and movies

They look good enough to eat, but you won't be able to bite into them.