Cameron Diaz has spent just under $3 million (GBP1.5 million) on a two-bedroom apartment in New York City's West Village district.