The FBI says a shooting at a Texas naval air station that wounded a sailor and left the gunman dead is being investigated as “terrorism-related.”