After four years of helping scientists understand how stars and planets form, the Herschel space telescope has stopped working.