The answer is simple, and it's not, "learn to shoot."
It's called pull him out of the game.
Maybe he'll learn to shoot FTs, or maybe he won't make it in the NBA like the billions of people who weren't blessed with the same gifts of height, length, athleticism, etc.
I don't blame the coaches for invoking the strategy. I blame the coaches who don't pull the player out as if they're taking some bold or noble stand, and their strategy is going to "beat out" the other coach's (sort of showing off that they have more power than the players, referees, and booing fans).
What kind of coach wants to stop the game from being played? Aren't they fans too?