They weren't specifically collecting this information. They were collecting packets that happened to come their way. Combine enough packets, and in some cases you'll find emails and URLs and password.
Story says "Google collected the data as a result of code integrated into the software used to identify and map WiFi signals. Google says the code was developed in 2006 by an engineer working on an experimental WiFi project that sampled all categories of publicly broadcast WiFi data. That coded ended up on the systems that power the data collection of the Street View cars."
I'm speculating, but I suppose value from this data can be anything from geographically locating ip-addresses to improve location based services to wireless-router manufacturer statistics.