Powerful cosmic blast as black hole shreds star