Plans to install life-saving equipment in York city centre have been dropped.