Former US Army Major Nidal Hasan has been executed at Fort Hood, more than 17 years after killing 13 people in a shooting at the Texas military base.