If you want to follow Twitter accounts from Mastodon, there's a bridge called Bird.Makeup that still works and is building a workaround to this issue.
I'm working on a Mastodon client called Agora that integrates this bridge into the search, so that if you search for "elonmusk@twitter.com" it automatically loads the bridged Mastodon version of the profile: