Megacap tech stocks roar back into vogue as haven from slowdown