Friends star Matthew Perry has died of an apparent drowning, US network NBC has confirmed. He was 54 years old.