The Supreme Court is set to consider bids by two tech giants to fend off federal securities fraud lawsuits in separate cases.