OpenAI said Wednesday that it's buying Jony Ive's AI devices startup io for about $6.4 billion in an all-equity deal that pushes the artificial intelligence company firmly into the world of hardware.