Apple's chief executive Tim Cook said the firm wants to hire more staff in the UK, in contrast to redundancies seen across the tech sector.
He said the company wants to take on more staff to work in artificial intelligence (AI).
It comes a day after Fortnite-maker, Epic Games, announced it was cutting 16% of its workforce.
Big firms including Amazon, Meta, Google and Microsoft have cut tens of thousands of jobs since 2022.
Mr Cook has been critical of the trend of tech layoffs and in May, he called it a "last resort".
Instead, he told the PA news agency when asked about AI and jobs in the UK: "We're hiring in that area, yes, and so I do expect [investment] to increase."
Companies are pouring money into AI. Amazon announced an investment of up to $4bn (£3.3bn) in San Francisco-based AI firm Anthropic on Monday.
That followed Microsoft's multibillion dollar investment in ChatGPT maker OpenAI in January.
Technology Secretary Michelle Donelan said Apple's decision was "another vote of confidence in our burgeoning tech sector".
"Apple's ongoing investment in brilliant British talent highlights our global credentials as both an AI and technology superpower," she wrote on X, the microblogging site formerly known as Twitter.
Antony Walker, deputy chief of techUK, the industry association, said: "The transformative nature of AI will certainly boost staff headcount in AI businesses over the next couple of years."
But he added: "In the long term, the skills need of the AI-powered economy of the future is harder to predict. That is why businesses and government should work together on a long-term strategy that puts training in digital skills and lifelong learning at the core."
Meanwhile, Tim Pullan, CEO of ThoughtRiver, which provides AI for legal professionals, said he thought the global economy was at the start of "an AI-driven revolution".
"It's vitally important that the UK is at the forefront of this transformation," he said.
"As a country, we have huge potential to grow as an AI superpower, and I'm sure this is the start of a trend which will see more and more companies looking to take advantage of the UK's deep tech expertise, and the UK benefiting from the investment and innovation that this will bring."
Mr Cook said AI was behind several prominent features on Apple devices, such as software that detects if a person has fallen or been in a crash, as well as more commonly-used tools such as predictive typing.
"It's literally everywhere on our products and of course we're also researching generative AI as well, so we have a lot going on," he said.
Generative AI – artificial intelligence which can create media based on text prompts – continues to be a target of investment for big firms despite widespread concerns over its impact of copyright, or ownership.
That is because the software "learns" by analysing a massive amount of data often sourced online and people are concerned it draws on their copyrighted work.
It has led to high-profile lawsuits in the US, with authors George RR Martin and John Grisham suing OpenAI over claims their books were used to train the system.
ChatGPT can now access up to date information
Meta announces AI chatbots with 'personality'
Spotify will not ban AI-made music, says boss
Death toll hits 1,000 in Israel and Palestine following Hamas attack
'Nobody could help us' – Shock and anger in Israel's Ashkelon
US moves warships closer to Israel after Hamas attack
How India's first deaf lawyer made history in top court
The scandalous life of a 'dashing and unreliable' king
The 'white gold' rush dividing communities
Biden cannot escape Trump's shadow in border crisis
The inspiring youth orchestra that built itself from nothing
Why Europe is watching Poland's election
Cities under siege as Mali slides towards chaos
An all girls cricket team in India breaks with tradition
How did Israeli intelligence fail to stop major attack?
Why do people love living in Canada?
The return of a divisive lingerie brand
New maps of Earth's lost continent
© 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.