M&M do not say that the cost of equity will remain constant at all – they say (in the absence of tax) that the WACC will remain constant.
The traditional view is that the cost of equity will rise with greater financial risk, but not necessarily linearly. (It is M&M who proved it rises linearly (subject to how gearing is measured)).