Saudi Arabia is setting up an international cybersecurity institute by royal decree as the Gulf kingdom tries to position itself as a leader in the field.