After looking certain to finish in third, Sergio Perez' car started billowing smoke and is out of the race.