The personal computer and AI server maker plans to build a research and development centre in Riyadh as part of the deal