Indonesian officials say at least 49 people were killed when a military transport plane crashed into a residential neighborhood on the island of Sumatra.