The business behind legendary Australian surfwear brands Billabong and Quiksilver has applied for bankruptcy, with more than 100 stores to close.