The world’s biggest coffee chain has been hit hard by lockdown measures and changing customer habits.