Micro-assembly using optically controlled bubbles