Smith portrayed heavyweight boxer Muhammad Ali in the 2001 biopic Ali . For his performance he was nominated for the Academy Award for Best Actor , and the Golden Globe Award for Best Actor – Motion Picture Drama .   In 2004, he appeared in the animated film Shark Tale , and science fiction film I, Robot . The following year he starred as a professional dating consultant in the romantic comedy Hitch .  Smith's portrayal of stockbroker Chris Gardner in the biopic The Pursuit of Happyness (2006) received Academy Award and Golden Globe Award nominations for Best Actor.    In 2008, he played a vigilante superhero in Hancock . While the film received poor reviews, it became his eighth consecutive to gross over $100 million at the North American box office and grossed a worldwide total of over $624 million. [a]   In 2015, Smith portrayed Nigerian-American physician Bennet Omalu in the biopic Concussion for which he garnered a nomination for a Golden Globe Award.  The following year, he appeared in the action film Suicide Squad , which grossed over $745 million at the worldwide box office.