I'd hate for the team to make this trade when it will do more harm than good imo. Regardless of what they give up to have the benefit of paying him the highest salary on the team. No team w a 25M player outside of the QB position has won anything to my recollection. Aiyuk is a great player, for sure, I saw him play in HS and he was awesome then. That still doesn't convince me to turn the rest of your players into divas who need to be paid based on how they perform statistically, rather than if they can win. Aiyuk will get us 2 wins, imo. That isn't worth the disrupting the other 20 or so starters who won't be making near 30M/yr.
If SF can't handle his salary and keep their players happy w new contracts, he will be playing on the tag or even released if he wants out that bad. Make a run for him then?