Applied Materials Inc. fluctuated between slight gains and losses in the extended session Thursday after the company turned in record results and an outlook that topped Wall Street’s expectations.