Investors book profits on tech stocks, turning defensive ahead of the weekend, wary of escalating Middle East tensions.