Apple is giving Google's Tango AR platform a run for its money, and also plans to bring support for VR headsets to future Macs.