Ocado is to cut hundreds jobs in its technology teams as part of the loss-making online grocery specialist’s efforts to reduce costs using artificial intelligence.