Correction to: Nature Nanotechnology https://doi.org/10.1038/s41565-023-01483-3, published online 7 August 2023.

In the version of the article initially published, the authors’ first names appeared as initials rather than full names. This has now been corrected in the HTML and PDF versions of the article.