YouTube, owned by Alphabet Inc’s Google , said late on Wednesday it had fixed a glitch that led to a worldwide outage of the video-streaming service.