It didn't cost a trillion dollars to development. The trillion dollar number everyone always loves to throw around is for the total lifetime cost (i.e., to 2070) to $1.5 trillion in then-year dollars which also includes operations and maintenance.
The UK did not spend 173 pounds per student for a year of education -- the 30B cost leads to per student spending of about $6500, which is starting to approach a reasonable figure.