An internet system launched by the wealthiest man in the world will be trial on the Royal Navy’s flagship.