> What did they actually buy Nokia for?
To stop them making Android phones. The agreement to only use WP was about to run out and Nokia had already started making 'X' phones* which were Android based. As Nokia made about 90% of all WP devices them switching all manufacturing to Android would kill WP entirely. MS thought it could save it.