Some Harvard Square restaurants have joined delivery apps to attract customers during the pandemic, but these apps charge fees that make it difficult for restaurants to turn a profit.