A musical inspired by viral Olympic breakdancer Raygun was shut down hours before it was due to open on Saturday.