Apple CEO Tim Cook has hit out against accusations that his company is a liability to users, saying that unlike other companies, the iPhone maker has no interest in collecting customers' data.

“We’ve taken a very different view of this than a lot of other companies have,” Mr Cook told US journalist Charlie Rose in an interview. “Our view is when we design a new service we try not to collect data.”

Mr Cook added that the company did not want to become a “treasure trove” of data for the National Security Agency (NSA), using the companys messages app as an example: “If the government laid a subpoena on us to get your iMessages, we can’t provide it – it’s encrypted and we don’t have the key. The door is closed.”

Mr Cook also referred to Apple Pay – the company’s newly-announced contactless payment system – saying that when it came to users’ credit card data: “We don’t want it. We’re not in that business.”

In his comments Mr Cook did not reference other companies directly, but urged viewers to think about how technology giants made their money. “If they’re making money mainly by collecting gobs of personal data I think you have a right to be worried.”

By contrast, Apple’s profits mostly come from its electronics,which the company sells with lucrative profit margins. Although Apple is often criticized for its high prices, Mr Cook argued that this means the company does not have to collect data to make money.

“Our business is based on selling these [iPhones], our business is not based on having information about you," he said.

Mr Cook also addressed the iCloud breach in the interview, saying that the service “wasn’t hacked” but that celebrities had had their passwords stolen, most likely by phishing attacks which Mr Cook described as “not just an Apple issue. This is an internet issue.”

Apple's products also came up during the course of the interview, with Mr Cook saying that the company could have "done a larger iPhone years ago" but that the company's mantra was to "ship things when they're ready", and that - of course - the company was working on "blow-away" products that "haven't been rumoured about yet".