Correction to: Nature Nanotechnology https://doi.org/10.1038/s41565-022-01148-7, published online 30 June 2022.

In the version of this article initially published, the Acknowledgements section omitted the text “K.X. thanks the Joint Center of Energy Storage Research, an energy hub funded by US DOE Basic Energy Science, for support,” which has now been inserted in the HTML and PDF versions of the article.