Magnificent Seven stocks rise 2.7% as tech rebounds from rout