Tom Hanks has spent four decades as one of Hollywood's most popular stars, but it took him a while to be viewed as his own man.