Actor John Malkovich will take the starring role in a new play by Pulitzer Prize winner David Mamet about a disgraced Hollywood studio head, a story he said was written partly in reaction to the scandal engulfing film producer Harvey Weinstein.