Mikel Arteta has signed a three-year contract extension at Arsenal that ties him to the club until 2027.