The owner of an iPhone X said his smartphone caught fire while he was upgrading the operating system.