It's not possible to add ESI for blocks in layout builder.
Enable layout builder on node bundle and add a block to this layout. No ESI options can be selected.
Add ESI support for layout builder blocks.
Active
4.0
Code