The president celebrated tech billionaires such as Microsoft CEO Satya Nadella at an event with arguably awkward timing.