Robin Williams, Actor