Correction to: Nature Materials https://doi.org/10.1038/s41563-024-01927-8, published online 13 June 2024.

Since the version of the article initially published, the Acknowledgments has been amended to state that grant no. DE-FG02-04ER46147, from the US Department of Energy, Office of Science, was given only to P.G.E. and grant nos. DMR-2309000 and DMR-1720415, from the US NSF through the University of Wisconsin Materials Research Science and Engineering Center, were given only to S.D.M.