Answer
The answer is "Ted", a 2012 comedy film where Alex provided his voice for the title character, a teddy bear who comes to life after a wish is made. The story follows the bear's misadventures as he navigates adulthood alongside his best friend, John Bennett, played by Mark Wahlberg.