Life-saving machine lay unused as patient died