> This same government pretty much bankrupted most small restaurants in the country, with many only surviving thanks to Glovo and the likes
Its not that the government had allowed such companies into the Spanish market. They entered long before. This government is the one which started to take action against such destructive companies for the first time.
Additionally you miss the effects of the pandemic. The pandemic killed small stores and businesses everywhere - or rather, it killed the ones that couldnt branch into selling online...
Uber, Glovo, Airbnb etc are global problems now. The only solution to them is keeping electing governments like this insistently and giving them time to hammer those corporations down.