Artist-in-residence programs at new buildings in Chicago, Los Angeles, London and elsewhere are designed to lure creative types