Wall Street mixed while Apple sinks on app store ruling