US stocks rise as Apple leads Nasdaq surge