Four-time IndyCar champion Alex Palou has been ordered to pay McLaren Racing more than $12 million for breach of contract.