Hurricane Beryl has strengthened into a top-level category 5 storm after it swept across several islands in the southeastern Caribbean, dumping heavy rain and unleashing devastating winds.