Correction to: Nature Materials https://doi.org/10.1038/s41563-024-02064-y, published online 20 January 2025.

In the version of the article initially published, due to a figure processing error, there was a small visual gap in the data shown in the top-left corner of Fig. 4d which has now been corrected in the HTML and PDF versions of the article.