Whole Foods has agreed to move into what is expected to be the second-largest apartment complex built in Los Angeles, a sign of growth in an area that has been experiencing a boom in development near the extension of the Metro Expo Line light rail, part of the city's expanding public transportation system.