LeBron James has been cast in Judd Apatow's Trainwreck