Actors who are part of the Screen Actors Guild (basically every celebrity) are required to be paid for all non-documentary appearances. This fee is fairly minimal and is basically a minimum wage for actors. Celebrity agents always negotiate hundreds of times that, but for Sesame Street they usually just do the minimum.