Some folding ebikes come with rear racks onto which you can mount baskets and other accessories. And many come with mounting points for a front rack as well.
This makes the folding electric bike more useful if you have items you want to carry, but adding these accessories makes the bike larger and bulkier, and, ultimately, more difficult to store in the folded position.