McLaren has been accused of waging "a long and expensive war" against Alex Palou as lawyers delivered closing arguments.