Cambridge University will spend £46 million on a new science building, despite telling students it cannot afford to provide them with sports facilities.