Thiel is playing fast and loose with the definition of profit here. While it's true that "economic profit" will go to zero under perfect competition, that only means that the company's accounting profit is the same as the discount rate in the economy generally. It doesn't mean that there's zero accounting profit on the company's books.