Motor vehicle with collecting and analyzing objects in the surroundings of the vehicle