Chinese tech company Xiaomi has announced it will spend 200 billion yuan (about $27.8 billion) on research and…