A seafront tourist attraction which closed suddenly after facing a series of financial problems has been bought by a hospitality chain.