That's 100% at Epic's fault.
First of all, they willingly put their customers at risk.
Second of all, they could've put the engine business in a different entity, keeping it safe from their games business
https://cdn2.unrealengine.com/epic-pi-tro-08-23-2020-8198711...
I'm not fan of Epic however if the court rules Epic as right, we are about to see an important precedent to a less monopolized market.
This case is less about monopolisation and more about inequality between two parties when settling a contract. Nothing stops Epic from making an Epic phone and doing the same.