A major UK airline has collapsed after more than two decades of service, leaving its planes grounded and passengers stranded.