The California summit between US President Obama and Chinese President Xi Jinping was a missed opportunity for both countries.