The Weinstein Company plans to file for bankruptcy after talks to sell it collapsed, in the wake of sexual misconduct allegations against its co-founder Harvey Weinstein.