Tech companies are laying off workers to ‘get ahead’ of economic headwinds- Expert