Moriarty claimed that the game by itself cost $400 million, without any of those extra costs.
Sony probably lost pretty close to $400m on the game overall. (Something like $200m on development, $150m on the studio, $50 million on marketing seems very likely to me.)
But I'm pretty confident he was wrong about "just development costing $400m".