A bill intended to help restaurants and other businesses hit by the COVID-19 pandemic has failed in the senate.