This issue of privacy in blockchain isn't new, and many ideas have been proposed, such as keeping the data off-chain and using zero-knowledge proofs (ZKPs) to prove we did the right computation (e.g., Aleo and Aztec) or using mixnets to anonymize transactions (e.g., Tornado Cash).
Source: wiktionary